-
Notifications
You must be signed in to change notification settings - Fork 108
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
Dial fails unless I disable the available() check #24
Comments
That looks like it should work. Out of curiosity, does Also, if possible, could you run your program using strace and post the trace? That'll tell us what error the OS is returning. |
If that is the issue, it should be possible to modify
|
@Coderlane good idea. That's much simpler. PR: #40 |
First time using the library, I tried doing a
Dial()
(only, I'm not usingListen()
) on linux, x86-64, kernel 4.4.0-92-generic but it returns an errorprotocol not available
fromavailable()
. If I comment out theavailable()
check then it seems to work as expected, reusing the port as I wanted.My code looked like this:
The text was updated successfully, but these errors were encountered: