Marcus Meissner
94efd487f0
ws2_32: Use correct buffer for 17 byte write.
2009-11-09 19:38:40 +01:00
Hans Leidekker
ebe6dabe27
ws2_32: Add a test for GetAddrInfoW.
2009-10-29 13:51:05 +01:00
Michael Stefaniuc
6edb5dd0c6
ws2_32/tests: Use LONG instead of long.
2009-10-06 11:57:58 +02:00
Mike Kaplinskiy
6d20b84ddd
ws2_32/tests: fix failure on win98/me.
2009-10-05 13:46:01 +02:00
Mike Kaplinskiy
45bd91b28b
ws2_32/tests: Test WSAAccept with CF_DEFER.
2009-09-25 13:42:41 +02:00
Ge van Geldorp
1c65c6d6f9
ws2_32/tests: Add acceptable error codes for Win7.
2009-09-08 12:11:56 +02:00
Alexandre Julliard
19c572f3dc
ws2_32/tests: Fix test failures on Vista.
2009-08-27 20:47:54 +02:00
Mike Kaplinskiy
d2065e3dc9
ws2_32/tests: Fix failure on NT4.
2009-08-25 11:43:26 +02:00
Detlef Riekenberg
2b345484bc
ws2_32/tests: Add tests for setsockopt with invalid levels.
2009-08-25 11:31:47 +02:00
Detlef Riekenberg
a563d670a0
ws2_32/tests: Add tests for getsockopt with invalid levels.
2009-08-25 11:31:38 +02:00
Mike Kaplinskiy
9b906c6766
ws2_32/tests: Test connecting a pending accept socket.
2009-08-20 15:26:19 +02:00
Jeff Latimer
694b6955a3
ws2_32/tests: Tests for invalid conditions in InetNtop.
2009-08-10 17:09:26 +02:00
Mike Kaplinskiy
5b1992b466
ws2_32/tests: Fix the last failures on NT4/2000.
2009-08-10 13:10:42 +02:00
Mike Kaplinskiy
da1e7a7208
ws2_32/tests: Test closing (and CancelIo'ing) accepting socket with pending AcceptEx call.
2009-08-07 14:57:18 +02:00
Jeff Latimer
f40cbb3d77
ws2_32: Add the scope_id to the IPv6 address string if present.
2009-08-05 15:30:16 +02:00
Jeff Latimer
4028a0e9f0
ws2_32: Add the port to the IPv6 address string if present.
2009-08-05 15:30:16 +02:00
Mike Kaplinskiy
7b683a9008
ws2_32/tests: Fix the last failures on NT4.
2009-07-22 11:08:49 +02:00
Mike Kaplinskiy
83d2108126
ws2_32/tests: Fix test failures on NT4/x86_64.
2009-07-20 13:35:43 +02:00
Mike Kaplinskiy
4acc8729c4
ws2_32/tests: Test closing listener during pending AcceptEx.
2009-07-20 13:35:37 +02:00
Mike Kaplinskiy
98bc97f770
ws2_32/tests: Test AcceptEx during pending AcceptEx call.
2009-07-20 13:35:34 +02:00
Jeff Latimer
4a8e36548d
ws2_32: IPv6 functionality for WSAAddressToStringW.
2009-07-17 13:33:41 +02:00
Jeff Latimer
c620ec8f72
ws2_32/tests: IPv6 tests for WSAAddressToStringW.
2009-07-17 13:32:56 +02:00
Mike Kaplinskiy
1dd1ea2e17
ws2/tests: Test AcceptEx with a deferred socket.
2009-07-14 16:28:59 +02:00
Damjan Jovanovic
26b0fad163
ws2_32: Test AcceptEx early disconnects and invalid parameters.
2009-07-10 12:12:04 +02:00
Paul Vriens
b7e1473311
ws2_32/tests: Fix a test failure on NT4.
2009-07-08 20:13:16 +02:00
Damjan Jovanovic
0066319b2d
ws2_32: Test AcceptEx short reads.
2009-07-07 11:01:06 +02:00
Damjan Jovanovic
71f7da2d3e
ws2_32: Add some AcceptEx tests.
2009-07-06 14:35:26 +02:00
Austin English
3cf5eb6d96
ws2_32/tests: Add initial tests for WSAStartup.
2009-05-04 12:52:40 +02:00
Jeff Latimer
2fa64f52e7
ws2_32: IPv6 functionality for WSAAddressToStringA.
2009-04-29 15:50:22 +02:00
Jeff Latimer
7d78bf4b1c
ws2_32/tests: IPv6 tests for WSAAddressToStringA.
2009-04-29 15:49:41 +02:00
Paul Vriens
ffd855d214
ws2_32/tests: Run tests again on several platforms due to missing functions.
2009-04-28 11:58:24 +02:00
Jeff Latimer
4d4819d8c4
ws2_32: Make inet_ntop conform to msdn definition.
2009-04-27 14:29:28 +02:00
Jeff Latimer
0cdd0d80ee
ws2_32/tests: Add tests for Inet_Ntop and inet_ntoa.
2009-04-27 14:29:08 +02:00
Hans Leidekker
fea6d0a764
ws2_32: Implement GetAddrInfoW and FreeAddrInfoW.
2009-04-27 13:22:54 +02:00
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
bc9df953fc
ws2_32/tests: Avoid printing pointer differences in traces.
2009-01-08 13:02:54 +01:00
Michael Stefaniuc
e948b2bf7e
ws2_32/tests: Remove some superfluous casts.
2008-12-04 12:08:30 +01: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
Daniel Santos
b54b282a4f
ws2_32: WSASendTo() should clear last error on success.
2008-07-18 12:30:31 +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
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
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
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
Kai Blin
c0a3ac5006
ws2_32: Handle gethostbyname call failure, add tests.
2008-04-28 14:33:03 +02:00
Austin English
79c0bc28ff
More spelling fixes.
2008-01-04 12:55:45 +01:00
Gerald Pfeifer
257f519eb5
ws2_32: Remove two noop checks.
2008-01-03 11:53:38 +01:00
Gerald Pfeifer
e3b5610825
ws2_32/tests: Fix error checking.
2007-11-14 11:59:42 +01:00
Kai Blin
d35c13c621
ws2_32: Cope with buggy apps passing setsockopt optval as a value instead of a pointer.
2007-11-12 13:03:57 +01:00
Philip Nilsson
65dbd2b114
ws2_32/tests: Add a testcase for binding with IPv6 and IPv4 on the same port.
2007-09-25 13:51:47 +02:00
Tijl Coosemans
1233b4b27b
ws2_32/tests: Don't wait for FD_CONNECT event when non-blocking connect() was successful.
2007-09-19 11:41:49 +02:00
Kai Blin
d89f2b4810
ws2_32: Return WSAEINVAL for unhandled address families in WSAStringToAddress.
...
Prepare for IPv6 support.
2007-06-29 13:47:30 +02:00
Damjan Jovanovic
1cf9436efe
ws2_32: getsockname should fail on unbound socket.
2007-06-15 12:40:20 +02:00
Damjan Jovanovic
b23d90a543
ws2_32: gethostbyname("") should work.
2007-06-01 12:40:40 +02:00
Damjan Jovanovic
8178f8fc88
ws2_32: Simplify some socket tests by adding a function that generates a pair of connected sockets.
2007-05-25 20:20:58 +02:00
Paul Vriens
f570fd314c
ws2_32/tests: Add required parameter to CreateThread (for Win9x and WinME).
2007-04-25 12:44:09 +02:00
Michael Stefaniuc
57d2002351
ws2_32/tests: Remove redundant NULL check before HeapFree().
2007-04-11 11:20:40 +02:00
Damjan Jovanovic
e39dca6af6
ws2_32: WSASendTo should always re-enable the FD_WRITE event.
2007-03-22 11:28:16 +01:00
Damjan Jovanovic
665e8a5e64
ws2_32: In some cases send should block until the entire buffer is sent.
2007-03-20 12:39:17 +01:00
Hans Leidekker
bde4e36208
ws2_32: Handle NULL argument in inet_addr.
2007-02-26 13:37:59 +01:00
Francois Gouget
f54caadc49
ws2_32/tests: Use '%d' to print GetLastError().
2007-01-04 11:26:25 +01:00
Kai Blin
6055c667e9
ws2_32: ws_sockaddr_u2ws should zero the sockaddr_in.sin_zero field.
2006-12-20 15:47:31 +01:00
Damjan Jovanovic
526e1353e6
ws2_32: Added tests for closesocket cancelling pending I/O operations.
2006-12-04 18:02:17 +01:00
Kai Blin
2a4df56548
ws2_32: Rewrite getsockopt to make it more readable.
2006-12-04 13:43:10 +01:00
Kai Blin
7e6b7d21b9
ws2_32: Implement SO_GET_MAX_MSG_SIZE for getsockopt.
2006-11-29 12:36:35 +01:00
Michael Stefaniuc
a279570d15
ws2_32/tests: Win64 printf format warning fixes.
2006-10-09 12:55:39 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
af781f398a
winsock: Renamed the winsock directory to ws2_32.
2006-03-15 09:57:30 +01:00