Commit Graph

452 Commits

Author SHA1 Message Date
Frédéric Delanoy 5274f855e3 ws2_32/tests: Use BOOL type where appropriate. 2013-10-09 10:08:29 +02:00
Frédéric Delanoy aedb86a46f ws2_32: Use BOOL type where appropriate. 2013-10-08 09:09:40 +02:00
Hans Leidekker 1422a56667 ws2_32: Always return the source address from WSAAccept. 2013-10-02 20:18:23 +02:00
Hans Leidekker 260119e682 ws2_32: Return an error from accept if the address buffer is too small. 2013-10-02 20:18:23 +02:00
Hans Leidekker 9530a06fed ws2_32: Add some tests for getpeername. 2013-10-02 20:18:23 +02:00
Hans Leidekker 14a092a336 ws2_32: Always clear res on error in getaddrinfo/GetAddrInfoW. 2013-10-02 20:18:23 +02:00
Hans Leidekker 59a1e6bff9 ws2_32: Avoid a crash with tracing on. 2013-10-02 20:18:23 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Bruno Jesus adb8fb115a ws2_32: Implement WSASendMsg(). 2013-10-01 10:56:10 +02:00
Bruno Jesus d811747a14 ws2_32/tests: Fix an ok() call comment. 2013-09-30 11:28:50 +02:00
André Hentschel b605553e28 ws2_32/tests: Don't test function directly when reporting WSAGetLastError(). 2013-09-23 11:53:46 +02:00
Bruno Jesus d0009573ee ws2_32: Fix some parameters checking in AcceptEx. 2013-09-23 11:53:34 +02:00
Bruno Jesus cba19b9027 ws2_32: Add missing else to getsockopt(SO_ACCEPTCONN). 2013-09-23 11:51:03 +02:00
Bruno Jesus 68377494c6 ws2_32: ConnectEx should not work on unbound socket. 2013-09-20 11:26:48 +02:00
Bruno Jesus 5dcf368e1b ws2_32/tests: Mark WinNT result as broken. 2013-09-19 19:50:14 +02:00
Bruno Jesus e9bd764a7b ws2_32: Make getsockopt(SO_TYPE) convert the returned socket type. 2013-09-19 09:30:40 +02:00
Bruno Jesus 2034f51598 ws2_32: Do not allow socket creation if WSAStartup was not called. 2013-09-17 19:07:54 +02:00
Bruno Jesus 0298165bea ws2_32: Filter invalid socket parameters and return the appropriate error. 2013-09-17 19:07:49 +02:00
Bruno Jesus 35e54fa59b ws2_32: Auto detect the socket type and family based on the protocol. 2013-09-17 19:07:29 +02:00
Bruno Jesus 8e29fcddb9 ws2_32: Use the struct information when the parameters are zero in WSASocket. 2013-09-17 19:07:14 +02:00
Bruno Jesus 29aab5df59 ws2_32: Fix the error returned for denied SOCK_RAW attempts. 2013-09-16 11:47:19 +02:00
Bruno Jesus 5762067b20 ws2_32: Fix WSASocket return code for invalid combination of socket type and protocol. 2013-09-16 11:47:19 +02:00
Bruno Jesus 78ca87a00b ws2_32: Make WS_EnterSingleProtocol return a boolean. 2013-09-16 11:47:19 +02:00
Bruno Jesus 44ea5334ca ws2_32: Avoid magic numbers. 2013-09-16 11:47:19 +02:00
Bruno Jesus e0581b38a7 ws2_32: Advertise protocol entries as default. 2013-09-16 11:47:19 +02:00
Bruno Jesus 260250539d ws2_32/tests: Add more WSASocket tests. 2013-09-12 11:06:46 +02:00
Bruno Jesus d71bf64e87 ws2_32: Fix WSADuplicateSocket implementation. 2013-09-11 20:33:20 +02:00
Bruno Jesus dea4f7bc02 ws2_32: Implement get socket option SO_PROTOCOL_INFO. 2013-09-10 12:27:35 +02:00
Bruno Jesus 0816f85b6b ws2_32: Implement WSADuplicateSocket[A|W] using a helper function. 2013-09-09 22:09:59 +02:00
Bruno Jesus d77522988b ws2_32/tests: Mark WinNT result as broken. 2013-09-09 22:09:59 +02:00
Bruno Jesus 4981b5b446 ws2_32: Remove a FIXME message. 2013-09-06 17:25:21 +02:00
Bruno Jesus b2170d845d ws2_32: Fix SO_ACCEPTCONN on BSD systems. 2013-09-06 17:25:17 +02:00
Bruno Jesus 0b03dc93e9 ws2_32: Add parameters TRACE for WS_EnumProtocols. 2013-09-06 17:25:15 +02:00
Bruno Jesus 1d1faa0283 ws2_32: Cope with invalid protocols in WSAEnumProtocols. 2013-09-05 16:21:48 +02:00
Bruno Jesus 03362e5a3d ws2_32: Merge protocol.c and socket.c. 2013-09-04 11:35:34 +02:00
Bruno Jesus 4ce3ddedb9 ws2_32/tests: Add SO_PROTOCOL_INFO tests. 2013-08-29 19:56:17 +02:00
Bruno Jesus 5fa343047f ws2_32: Implement WSAEnumProtocols[A|W] using a helper function. 2013-08-16 11:55:23 +02:00
Bruno Jesus ce0e3158b2 ws2_32/tests: Add and update WSASocketA() tests. 2013-08-02 11:22:51 +02:00
Bruno Jesus 75fc88452c ws2_32: Simplify WINSOCK_EnterSingleProtocolA using the W version. 2013-08-01 17:51:14 +02:00
Bruno Jesus d5f7f74f78 ws2_32/tests: Test the precedence of parameters while creating a socket in WSASocket(). 2013-08-01 11:42:50 +02:00
Bruno Jesus d7f216818f ws2_32/tests: Fix bad usage of WSAGetLastError() in tests. 2013-08-01 11:42:43 +02:00
Bruno Jesus 63fb7a798c ws2_32: Fix service flags returned from TCP and UDP protocols. 2013-07-31 16:29:48 +02:00
Bruno Jesus 4133fb4341 ws2_32/tests: Add SO_ACCEPTCONN tests. 2013-07-30 19:12:19 +02:00
Bruno Jesus a9f3c1974d ws2_32/tests: Add more tests for WSASocket(). 2013-07-29 14:27:59 +02:00
Bruno Jesus 3fea3a5b1a ws2_32: Fix listen() implementation. 2013-07-27 12:20:21 -05:00
Bruno Jesus 9ea1835b82 ws2_32/tests: Add listen() tests for TCP sockets. 2013-07-22 09:38:19 +02:00
Erich Hoover 74010aa0e7 ws2_32: Fix interface-bound filter to accept locally generated targeted packets. 2013-06-25 19:42:34 +02:00
Hans Leidekker 1d8b70fca4 ws2_32/tests: Avoid races. 2013-06-25 18:12:11 +02:00
André Hentschel f208e9ef07 ws2_32: Don't use autoheader styled define. 2013-06-18 12:57:44 +02:00
André Hentschel 749bb1db35 ws2_32/tests: Don't test functions directly when reporting WSAGetLastError(). 2013-06-10 11:49:49 +02:00