Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket.TCP timeout for accept() (Android) #1426

Conversation

sakisakira
Copy link
Contributor

You can use timeout option for accept, like, socket.listen(); socket.timeout = 5
000; socket.accept();, then it wait 5 seconds for incomming connection.
It will explicitly distinct with socket.accept({timeout: 5000}).

…timeout = 5000; socket.accept();, then it wait 5 seconds for incomming connection.

It will explicitly distinct with socket.accept({timeout: 5000}).
@negupta
Copy link
Contributor

negupta commented Feb 15, 2012

sakisakira - please file a JIRA ticket with a valid test case as per the pull request guidelines before we can process this PR.

@negupta
Copy link
Contributor

negupta commented Feb 15, 2012

Signed CLA is in place.

@marshall
Copy link
Contributor

Closing, please see comments on #1425

@marshall marshall closed this Mar 14, 2012
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.

None yet

3 participants