socket.io-poco icon indicating copy to clipboard operation
socket.io-poco copied to clipboard

[example]: check the return params to determine if the connection was…

Open sliver-chen opened this issue 7 years ago • 0 comments

… successful

when node.js server is not listening the port, connect will failed and return a null pointer,Then segment fault will occur if you continue to run it.So we should exit to avoid this error.

Signed-off-by: sliver.chen [email protected]

sliver-chen avatar Dec 25 '17 12:12 sliver-chen