gh-42: Remove OS-specific checks in bsdsocket test
- Waiting on a brand new socket (neither listen nor connect called) completes immediately with HUP status on Linux. However on FreeBSD/osx it never completes. - Attempting to connect to a port bound on a loopback interface which is not yet listening yield ECONNREFUSED in blocking mode on Linux. On FreeBSD/osx blocking connect never completes ("never" means it doesn't complete in a reasonable time). - Calling shutdown() on a listening socket works in Linux but in FreeBSD/osx it doesn't.
Loading
Please register or sign in to comment