Commit Graph

160 Commits

Author SHA1 Message Date
Alexandre Julliard d341cca616 ws2_32/tests: Avoid sizeof in traces. 2009-04-22 16:56:37 +02:00
Jeff Latimer eab59e84ac ws2_32: WSAAddressToStringW should return length of unicode address string should and include the trailing null. 2009-04-20 17:40:18 +02:00
Jeff Latimer bf40710516 ws2_32: WSAAddressToStringA should return length of ANSI address string and should include the trailing null. 2009-04-20 17:39:56 +02:00
Michael Stefaniuc 0847e7d826 ws2_32: Use better types for some variables. 2009-04-20 14:12:32 +02:00
Alexandre Julliard 65e71259df ws2_32/tests: Don't use socklen_t. 2009-03-31 12:13:15 +02:00
Alexandre Julliard a8a2ca72bd ws2_32/tests: Fix a test failure on WinME. 2009-01-25 17:54:49 +01:00
Alexandre Julliard a46441bd02 ws2_32: Fix an error return value in bind(). 2009-01-08 17:29:31 +01:00
Alexandre Julliard bc9df953fc ws2_32/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:54 +01:00
Alexandre Julliard 6db201080f server: Make the various async I/O parameters client_ptr_t instead of void pointers. 2008-12-30 21:09:41 +01:00
Alexandre Julliard f507ccbf52 server: Specify the user APC to call only once the system APC has executed. 2008-12-30 20:51:55 +01:00
Francois Gouget da1a352972 configure: Fix the linux/ipx.h check. 2008-12-29 11:35:58 +01:00
Alexandre Julliard a7b3efde0e server: Store the async handle inside the async_data_t structure. 2008-12-26 12:33:21 +01:00
Alexandre Julliard bc85fb4cd3 ws2_32: Added implementation for inet_ntop. 2008-12-22 19:40:08 +01:00
Alexandre Julliard f6fa72d770 server: Make async I/O transfer sizes always 32-bit. 2008-12-15 13:30:25 +01:00
Andrew Talbot 8ee1634f41 ws2_32: Sign-compare warnings fix. 2008-12-11 14:32:06 +01:00
Hans Leidekker c58541e20a ws2_32: Implement WSAIoctl(SIO_KEEPALIVE_VALS).
Based on a patch by Philippe Rétornaz.
2008-12-09 12:46:52 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Michael Stefaniuc e948b2bf7e ws2_32/tests: Remove some superfluous casts. 2008-12-04 12:08:30 +01:00
Francois Gouget 792e672822 ws2_32: Fix the checks for AQ_WIN16. 2008-12-01 12:57:29 +01:00
Jeff Zaroyko 75e511f3a7 ws2_32: Test WSAAccept optional callback parameter before trying to use it. 2008-11-06 11:10:18 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Aric Stewart 6b4d22ca2c ws2_32: Only set the overlapped hEvent if it exists. 2008-10-29 13:43:44 +01:00
Alexandre Julliard fe7c5d86e7 ws2_32: Allow arbitrary-sized iovecs again in WSASendTo and WSARecvFrom. 2008-10-09 12:57:33 +02:00
Francois Gouget 96e15460e1 ws2_32/tests: Fix a race in sock.c:test_write_events().
Stop draining the socket to make sure we will be able to fill the send 
buffer and trigger a short write.
2008-09-12 11:40:10 +02:00
Kai Blin 4b4109a647 ws2_32: Win98 closesocket() does not wake up select. 2008-09-11 14:38:21 +02:00
Kai Blin 93f1d48743 ws2_32: Win NT4 does not zero the sockaddr_in structure on getsockname.
All other versions of windows do, and this makes native dplay traces
much more readable, which is why Wine implements this as well. Mark
NT4 as broken, to make sure Wine doesn't regress.
2008-09-11 14:38:14 +02:00
Kai Blin 6f8d1aa8c2 ws2_32: Fix the SO_REUSEADDR tests to work on Win2k3 and newer.
It seems that with Win2k3, the meaning of SO_REUSEADDR got closer to
BSD semantics. This is nice, as it allows us to finally work like some
version of Windows here.
2008-09-10 11:20:28 +02:00
Jeff Zaroyko 15978ddc01 ws2_32: ioctlsocket should try to check if argp is valid. 2008-09-10 11:07:51 +02:00
Paul Vriens c8aba692af ws2_32/tests: Remove redundant NULL check before HeapFree. 2008-09-09 12:32:25 +02:00
Damjan Jovanovic b904dd783c ws2_32: Only enable FD_WRITE on short sends. 2008-09-08 14:09:16 +02:00
Paul Vriens ea17a9192c ws2_32/tests: Use CreateEventA for win9x. 2008-09-05 11:20:54 +02:00
Juan Lang 8c44e25693 ws2_32: Delay import iphlpapi. 2008-08-05 14:09:36 +02:00
Daniel Santos b54b282a4f ws2_32: WSASendTo() should clear last error on success. 2008-07-18 12:30:31 +02:00
Andrew Talbot a42a61eee1 ws2_32: Remove unneeded address-of operators from array names. 2008-07-14 11:50:48 +02:00
Kai Blin 1d77d2a826 ws2_32: Prevent segfault in trace for NULL AddressString. 2008-07-04 19:35:41 +02:00
Marcus Meissner ebe7739987 ws2_32/tests: Initialize buffer to avoid valgrind warning. 2008-06-23 14:09:57 +02:00
Marcus Meissner fb140649f4 ws2_32/tests: Initialize memory to send. 2008-06-21 11:54:55 +02:00
Jeff Zaroyko 30e6b81dd1 ws2_32: Ignore lpFrom for connected sockets.
If the the socket is connected and lpFrom is not NULL, Linux will set
msg_namelen to zero and ignore msg_name in recvfrom so don't try try
to update lpFrom.
2008-06-21 11:36:15 +02:00
Albert Lee b4057a6f39 ws2_32: WS_getaddrinfo TRACE message can crash Wine. 2008-06-18 15:21:48 +02:00
Kai Blin 36d6310599 ws2_32: Change back magic 127.12.34.56 to loopback on connect(). 2008-05-28 11:31:22 +02:00
Paul Vriens 9d566032bb ws2_32/tests: Fix crash on win98. 2008-05-28 11:31:18 +02:00
Kai Blin cabb350f2f ws2_32: Add support for FROM_PROTOCOL_INFO to WSASocket(). 2008-05-26 18:00:18 +02:00
Andrew Talbot 0c1407008d ws2_32: Remove unused function. 2008-05-22 11:28:59 +02:00
Kai Blin d88ee55e68 ws2_32: Test for invalid hostnames again. 2008-05-19 20:20:00 +02:00
Dan Kegel 95beaa21b8 ws2_32/tests: Cannot reliably detect bad hostnames in "modern" internet. 2008-05-14 13:36:38 +02:00
Francois Gouget 42a61d7ed7 Assorted spelling fixes. 2008-05-06 16:10:20 +02:00
Michael Stefaniuc af1986d6cc ws2_32: Fix test output string to match the test. 2008-05-06 11:24:58 +02:00
Kai Blin 6b007698d2 ws2_32: On Win98, SO_MAX_MSG_SIZE is 65527, not 65507. 2008-05-05 21:02:12 +02:00
Alexandre Julliard 4c4544910e ws2_32/tests: Fix the gethostname prototype. 2008-04-29 20:17:50 +02:00