Commit Graph

301 Commits

Author SHA1 Message Date
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
Alexandre Julliard 4cbfe4e1ef ws2_32: Fail when select is called with an invalid fd.
Based on a patch by Vincent Povirk.
2010-09-20 14:56:55 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Vincent Povirk e1705151a9 ws2_32: Add a test for selecting invalid sockets. 2010-09-15 17:50:32 -05:00
Austin English 4ada99aa83 ws2_32: Add a stub for WSANSPIoctl. 2010-09-09 19:28:32 +02:00
Alexandre Julliard 9f2c51800d ws2_32/tests: Fix some buffer overflows in traces. 2010-09-03 21:07:54 +02:00
Francois Gouget d8cb2a0c38 ws2_32/tests: Add a trailing '\n' to an ok() call. 2010-08-24 15:22:36 +02:00
Francois Gouget 21541da0bb ws2_32: Add a trailing '\n' to a TRACE() call. 2010-08-24 15:22:35 +02:00
Wolfgang Schwotzer 6d5aaaa5e0 ws2_32: Initialize variable lsap_sel. 2010-08-20 13:21:28 +02:00
Wolfgang Schwotzer d640d3fa5c ws2_32/tests: Only log threads which not terminated by themselves. 2010-08-17 12:57:01 +02:00
Mike Kaplinskiy 50ef3a2018 ws2_32: Fix a bad pointer crash. 2010-08-16 15:54:23 +02:00
Mike Kaplinskiy d596fa1859 ws2_32: Implement SO_UPDATE_CONNECT_CONTEXT. 2010-08-16 13:45:43 +02:00
Dmitry Timoshkov e0bbcea6fb ws2_32: Rearrange the code to avoid a needless release_sock_fd(). 2010-08-04 12:33:27 +02:00
Mike Kaplinskiy 4d6982e684 ws2_32: Implement ConnectEx. 2010-08-03 12:02:47 +02:00
Mike Kaplinskiy 15cc301728 ws2_32: Create a wrapper for connect. 2010-08-03 12:01:22 +02:00
Mike Kaplinskiy fae0b6fa63 ws2_32: Don't set FD_READ/FD_WRITE before the connection is complete. 2010-08-03 12:00:48 +02:00
Mike Kaplinskiy 5288a22585 ws2_32/tests: Test ConnectEx. 2010-08-03 11:59:15 +02:00
Mike Kaplinskiy a6203f8b53 server: Fix some comments.
Apparently windows reports only currently valid events for WSAEnumNetworkEvents.
2010-07-28 16:28:27 +02:00
Mike Kaplinskiy 0b251c08f2 server: Consume events triggered. 2010-07-28 16:28:26 +02:00
André Hentschel 6c144d06fe ws2_32: Fix test message. 2010-07-22 10:11:31 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English cdf091f2c9 ws2_32: Remove unused variable. 2010-07-21 13:23:59 +02:00
Howell Tam 8b7ec05bd2 ws2_32: Wrapped WSASendTo/WSARecvFrom with a different function name. 2010-07-19 15:13:24 +02:00
Alexandre Goujon 73b2f5708f ws2_32: Add host unreachable case. 2010-07-05 12:59:47 +02:00
Francois Gouget 1a1f1aa588 ws2_32/tests: Fix a typo in a variable name. 2010-06-22 20:04:09 +02:00
Alexandre Julliard 76efc82860 ws2_32/tests: Reorder includes so that winsock.h is included before system headers. 2010-06-15 22:58:53 +02:00
Andrew Nguyen f96d192947 ws2_32: Update DLL version information to correspond to XP.
The Star Trek: Armada II demo tries to install a Windows 95 winsock 
redist if the detected ws2_32.dll version is too old.
2010-05-27 14:46:43 +02:00