-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
TCP server fails to start listening on windows #5892
Comments
I can confirm that the above behaviour is the same on my machine running Win8 + rust 0.6 release |
Confirming it works on ubuntu with rust 0.6, so it does indeed seem to be a windows bug. |
Aha! Reached the same conclusion on Windows Server 2012 with Rust 0.6, found this via Google. |
Much as I hate to close things with the CADT style "not going to fix because we're rewriting this" sort of comment, the fact is we are rewriting the entire IO library. We can keep this open in the meantime to check that "TCP servers don't deadlock on windows" once that's active, but the exact code-as-written here is not going to ever work. It'll be something a bit different in the new APIs. |
May as well nominate for production ready while we're at it. Clearly we should, y'know, support TCP servers on windows. |
I'll for sure try it again when new io lands (well most likely when 0.8 does) once I updated my code base. Will try to keep this issue in mind. |
just a bug, removing milestone/nomination. |
New io is landed now, can you confirm TCP now works on windows? |
We have a fair number of tests in libstd and librustuv which are testing this functionatliy, both of which are running on windows bots right now. This code has long since changed so I'm gonna close this for old code and tests are currently running. |
Agreed. I don't have a windows machine to test with anyway at the moment, but I'm sure it's fixed or failing differently by now :) |
unnecessary-mut-passed: make lint message say if fn is a function or a method changelog: refine "unnecessary-mut-passed" lint message
Using the following code in windows7 with rustc 0.6, I get:
And it stays like that forever. It's impossible to telnet to 6380 too.
I am quite new to Rust so if there is any more info I can provide please let me know.
The text was updated successfully, but these errors were encountered: