You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will listen on port 6600 and accept new connection. It will printf socket flags after new socket is accepted. (nc 127.0.0.1 6600) When argument is passed to executable it will accept using non-blocking socket.
This is rated to discussion from dotnet/corefx#23115
Consider following C code:
This will listen on port 6600 and accept new connection. It will printf socket flags after new socket is accepted. (nc 127.0.0.1 6600) When argument is passed to executable it will accept using non-blocking socket.
however on macOS 10.12.6
I got same result on macOS 10.13 (High Sierra)
For comparison on FreeBSD 11.0:
It seems like on macOS and BSD new socket inherits flags from accepting socket.
The text was updated successfully, but these errors were encountered: