Conversation
|
It looks like this won't work on Windows, as |
|
Also you could just name |
c024d7b to
76e217b
Compare
|
I've added shutdown before close to prevent polls from being blocked by a closed socket |
|
Given that Socket is a "thin" API wrapper, I think it's probably better to split out the I believe the destructor should only |
|
How should |
|
I think we should permit shutdown with directional flags, just like the actual C For our purposes we would define "conneted" to mean "able to send and receive". |
This PR adds poll() support to Sockets given it's recommended over select() for modern applications.