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

connect hangs if host is not reachable #12

Open
gabri94 opened this issue Jun 23, 2016 · 1 comment
Open

connect hangs if host is not reachable #12

gabri94 opened this issue Jun 23, 2016 · 1 comment
Labels
Milestone

Comments

@gabri94
Copy link
Member

gabri94 commented Jun 23, 2016

If the host is not reachable connect don't return thus the program is locked.

A non-blocking connect with a timer should be implemented.

@gabri94 gabri94 added this to the 0.1 milestone Jun 24, 2016
@gabri94 gabri94 added the bug label Jun 24, 2016
@gabri94
Copy link
Member Author

gabri94 commented Jul 9, 2016

The problem appears only when the destination ip is not reachable at all. If it is reachable but the port is closed prince exits returning 0.

@gabri94 gabri94 modified the milestones: improovements, 0.1 Aug 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant