Skip to content
Snippets Groups Projects
Commit c710a18b authored by Nick Zavaritsky's avatar Nick Zavaritsky
Browse files

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.
parent f4f4e6d7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment