-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a. Supress EPERM: on macos the bind will always fail with EPERM when runs in code signing sandbox mode even through provide ADDR_ANY and port=0 to require bind a random local endpoint, but on other systems, require call bind before connect for UDP sockets. b. Don't invoke socket.bind for tcp when not require bind network inteface or port explicitly
- Loading branch information
guoxiaodong
committed
Feb 13, 2024
1 parent
538ba36
commit b9c009d
Showing
1 changed file
with
22 additions
and
11 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