Commit Graph

327 Commits

Author SHA1 Message Date
Marcus Meissner
f50b8b8ac1 ws2_32: Fixed select() number of fds (Coverity). 2011-06-16 16:42:19 +02:00
Hans Leidekker
3581d2c6d1 ws2_32: Accept NULL lpNumberOfBytesSent for overlapped calls to WSASend/To. 2011-06-14 13:09:29 +02:00
Lauri Kenttä
69ab564f5d ws2_32/tests: Make sure that a structure is initialized (LLVM/Clang). 2011-06-13 15:05:39 +02:00
André Hentschel
3437591e71 ws2_32/tests: Don't read return value when we don't test for it. 2011-06-13 11:31:17 +02:00
Andrew Nguyen
a282c150fa ws2_32/tests: Fix some test thread procedure prototypes. 2011-06-03 17:44:06 +02:00
Andrew Nguyen
e9e0df23b8 ws2_32/tests: Avoid casting a WSAAccept function pointer parameter in test_accept. 2011-06-03 17:43:59 +02:00
Peter Urbanec
78ab293d3f ws2_32/tests: Socket error handling and reporting tests. 2011-06-02 16:24:22 +02:00
Andrew Nguyen
9edafeb742 ws2_32: Avoid a crash with an optional pointer in WSAAsyncGetServByPort. 2011-06-01 16:14:30 +02:00
Andrew Nguyen
2c74796456 ws2_32/tests: Properly destroy the async test window. 2011-06-01 16:14:22 +02:00
Andrew Nguyen
a5e0f09b52 ws2_32: Free the asynchronous query structure if thread creation fails. 2011-06-01 16:14:08 +02:00
Peter Urbanec
d0067a5dc1 ws2_32/tests: Use WSAGetLastError() when reporting errors. 2011-05-31 18:32:57 +02:00
André Hentschel
e47ef8ae54 ws2_32/tests: Initialize atmark (valgrind). 2011-05-31 11:12:33 +02:00
André Hentschel
979f872fc7 ws2_32/tests: Add test for SIOCATMARK. 2011-05-27 17:53:37 +02:00
Andrew Nguyen
aca2385d6c include: Revise the Winsock include in windows.h to match the Windows SDK. 2011-05-19 17:38:30 +02:00
Hans Leidekker
ee683f7162 ws2_32: Add a test to show that WSAIoctl is synchronous. 2011-05-02 16:38:34 +02:00
Alexandre Julliard
de0b4a67d8 ws2_32: Signal overlapped completion in WSAIoctl. 2011-04-19 12:47:57 +02:00
Alexandre Julliard
7e208f4896 ws2_32: Merge ioctlsocket implementation into WSAIoctl. 2011-04-19 11:57:37 +02:00
Alexandre Julliard
c4b67221d4 ws2_32: Use saner parameter names in WSAIoctl. 2011-04-19 11:34:42 +02:00
Hans Leidekker
8f07cdf975 ws2_32: Implement GetNameInfoW. 2011-03-29 13:51:47 +02:00
André Hentschel
42d3bd713d ws2_32: Downgrade FIXME for WS_SIO_SET_COMPATIBILITY_MODE to a TRACE. 2011-03-14 19:31:31 +01:00
Aric Stewart
f520dec3e1 ws2_32: async_send with no buffers does not need to do any work. 2011-03-07 11:07:54 +01:00
Marcus Meissner
ae0797150e ws2_32: name is never NULL as array (Coverity). 2011-02-24 12:40:30 +01:00
Alexandre Goujon
778757ba74 ws2_32: Make gethostbyname fail if WSAStartup was not called before. 2011-02-23 14:58:09 +01:00
Austin English
99012fe793 ws2_32/tests: Remove unneeded assignments (LLVM/Clang). 2011-02-09 09:27:11 -06:00
Joris Huizer
36c76573de ws2_32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:44 -06:00
Marcus Meissner
09e29486ae ws2_32: Implemented SO_CONNECT_TIME stub. 2011-01-26 17:31:40 +01:00
Mike Kaplinskiy
f58c709b5f server: Fix connect failures on newer kernels. 2011-01-24 14:43:28 +01:00
Mike Kaplinskiy
27b51ce6b0 ws2_32: Finish an overlapped send only if we sent everything. 2011-01-24 14:43:27 +01:00
Mike Kaplinskiy
a06144d9ca ws2_32: Use the iosb to keep track of how many bytes we sent. 2011-01-24 14:43:27 +01:00
Mike Kaplinskiy
388398bd05 ws2_32: Fix up iovecs after transmission in WS2_send instead of WS2_sendto. 2011-01-24 14:43:27 +01:00
Mike Kaplinskiy
e6fee3596d ws2_32: Allow sending FD_WRITE right after scheduling the async.
The server won't actually send the event until the request is done.
2011-01-24 14:43:27 +01:00
Mike Kaplinskiy
a0c810c177 ws2_32/tests: Add a test for an overlapped send. 2011-01-24 14:43:27 +01:00
Gerald Pfeifer
37f5080e1b ws2_32: Restructure and simplify debugstr_wsaioctl a bit. 2011-01-10 10:44:51 +01:00
Alexandre Julliard
f89d80c276 ws2_32/tests: Avoid size_t in a trace. 2010-12-09 17:46:13 +01:00
Alexandre Julliard
58a1c0d50d ws2_32: Fix a compile failure when control messages are not supported. 2010-12-08 16:25:05 +01:00
Erich Hoover
c134680321 ws2_32/tests: Add regression tests for WSARecvMsg and IP_PKTINFO. 2010-12-07 17:04:33 +01:00
Erich Hoover
54b4f836fd ws2_32: Add support for WSARecvMsg and IP_PKTINFO. 2010-12-07 17:04:11 +01:00
Juan Lang
7f5583aee9 ws2_32: Set length on successful return from WSAStringToAddress. 2010-12-03 11:04:16 +01:00
André Hentschel
8b913427c0 ws2_32: Map AI_ADDRCONFIG. 2010-11-23 13:16:53 +01:00
Greg Geldorp
b53edc6dcc ws2_32/tests: NT4 and Win2000 print IPv6 addresses a little bit differently. 2010-11-16 11:59:17 +01:00
Francois Gouget
76039b3728 ws2_32: Add a trailing '\n' to a FIXME() call. 2010-11-02 13:16:47 +01:00
Louis Lenders
cb65dbf3d8 ws2_32: Return SOCKET_ERROR in stubbed WSALookupServiceNext, to prevent apps from looping forever. 2010-10-28 11:39:24 +02:00
Dan Kegel
6733c40d78 ws2_32: Null select() should fail with WSAEINVAL. 2010-10-18 19:47:49 +02:00
Alexandre Julliard
730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Juan Lang
9addae9d66 ws2_32: Implement WSAIoctl for SIO_ROUTING_INTERFACE_QUERY. 2010-09-29 10:05:55 +02:00
Francois Gouget
d33ff209b3 ws2_32: Make WS2_AcceptEx() and WS2_GetAcceptExSockaddrs() static. 2010-09-29 10:05:27 +02:00
Juan Lang
d06b1d599d ws2_32/tests: Test SIO_ROUTING_INTERFACE_QUERY. 2010-09-28 17:33:20 +02:00
Mike Kaplinskiy
f138a5724d ws2_32: Implement SO_UPDATE_ACCEPT_CONTEXT. 2010-09-28 17:33:19 +02:00
Juan Lang
1e09999350 ws2_32: Unpack ioctl codes in WSAIoctl trace. 2010-09-27 12:10:52 +02:00
Mike Kaplinskiy
cf72f406ec ws2_32: Implement AcceptEx and GetAcceptExSockaddrs. 2010-09-22 20:04:32 +02:00