-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure asyncio datagram sockets on windows have had a bind() before
recvfrom(). The fix for [#637] erroneously concluded that that windows asyncio needed connected datagram sockets, but subsequent further investation showed that the actual problem was that windows wants an unconnected datagram socket to be bound before recvfrom is called. Linux autobinds in this case to the wildcard address and port, so that's why we didn't see any problems there. We now ensure that the source is bound.
- Loading branch information
Showing
2 changed files
with
11 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters