tests/server/sockfilt.c: Fixed support for listening sockets
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 6 Jan 2013 21:29:52 +0000 (22:29 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 6 Jan 2013 21:30:42 +0000 (22:30 +0100)
commit11f55a9672d3b5d3eaa5d15d5a67618fb640c153
tree63c1f16029b609f4283f91f1613d0e6f27483bd6
parent5475ac279dfdeb5b3d0a162d635b3439469a0ff4
tests/server/sockfilt.c: Fixed support for listening sockets

This commit fixes support for sockets that are ready to accept
a new connection and have previously been put into listening mode.

It also includes changes which are the result of investigation
regarding Windows STDIN. These changes are the preparation for further
improvements regarding support for reading data from STDIN on Windows.

Open issue: WaitForMultipleObjectsEx does not support PIPE handles
which are returned by GetStdHandle while running without a GUI.
tests/server/sockfilt.c