Skip to content

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

Open
sliver-chen wants to merge 1 commit intohimynameschris:masterfrom
sliver-chen:fix_example_segmentfault
Open

[example]: check the return params to determine if the connection was…#25
sliver-chen wants to merge 1 commit intohimynameschris:masterfrom
sliver-chen:fix_example_segmentfault

Conversation

@sliver-chen
Copy link

… 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 sliver.chen@rock-chips.com

… 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 <sliver.chen@rock-chips.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments