[OSKITTCP]
authorCameron Gutman <aicommander@gmail.com>
Sat, 2 Jul 2011 21:47:30 +0000 (21:47 +0000)
committerCameron Gutman <aicommander@gmail.com>
Sat, 2 Jul 2011 21:47:30 +0000 (21:47 +0000)
commitc7d3d99eaf47ab67b6aade36fa81be8353359331
tree98cc9a77a54834261b58bf65ba22b33d8d43c622
parent0669007af7d134c31dbdfe20442f0a2b0c8c9149
[OSKITTCP]
- Signal readable when read is closed and writeable when write is closed
- This seems counterintuitive on the surface but signaling the socket in this way ensures that pending reads and writes are cancelled if either side shuts down send/receive
- Graceful close (recv() returns 0 bytes and FD_CLOSE is signaled when we receive a FIN) works much better

svn path=/trunk/; revision=52504
reactos/lib/drivers/oskittcp/oskittcp/sleep.c