- Add a test suite for ws2_32.dll
authorColin Finck <colin@reactos.org>
Sun, 1 Jun 2008 22:08:45 +0000 (22:08 +0000)
committerColin Finck <colin@reactos.org>
Sun, 1 Jun 2008 22:08:45 +0000 (22:08 +0000)
commitc91fecf96868cd5a68d85879f4f99b9c4aad60bf
treef92561947595876861b31f50f46a28472376ec13
parentce52fa83e3ecb22263802f76fd5e787f0ddf6ed4
- Add a test suite for ws2_32.dll
  It currently tests the features I needed to adjust/implement when fixing the wininet problem.
  ReactOS currently passes all tests, but fails one if you launch the test app for the second time quickly after the first time (timing problem in the network code?).
- Fix the behaviour on an ioctlsocket FIONREAD call: The output buffer is not touched, when we have no socket, but when we have no connection, it is set to 0.
- Forward the socket call to WSASocketW instead of WSASocketA, minimal performance improvement

svn path=/trunk/; revision=33824
reactos/dll/win32/ws2_32/misc/dllmain.c
reactos/drivers/network/afd/afd/info.c
rostests/apitests/directory.rbuild
rostests/apitests/ws2_32/helpers.c [new file with mode: 0644]
rostests/apitests/ws2_32/testlist.c [new file with mode: 0644]
rostests/apitests/ws2_32/tests/ioctlsocket.c [new file with mode: 0644]
rostests/apitests/ws2_32/tests/recv.c [new file with mode: 0644]
rostests/apitests/ws2_32/ws2_32.c [new file with mode: 0644]
rostests/apitests/ws2_32/ws2_32.h [new file with mode: 0644]
rostests/apitests/ws2_32/ws2_32.rbuild [new file with mode: 0644]