Commit Graph

216 Commits

Author SHA1 Message Date
Alexandre Julliard
7dc9ea8950 ws2_32: Make winsock.dll into a stand-alone 16-bit module. 2009-09-29 20:05:26 +02:00
Alexandre Julliard
f507e3c416 ws2_32: Remove remaining 16-bit code from async.c and simplify the code. 2009-09-29 20:03:36 +02:00
Alexandre Julliard
252925fe53 ws2_32: Move the 16-bit async functions to socket16.c. 2009-09-29 20:00:53 +02:00
Alexandre Julliard
4ad0c4d86c ws2_32: Move the getXXXbyYYY critical section to socket.c. 2009-09-29 19:36:16 +02:00
Alexandre Julliard
3b6b1c87fe ws2_32: Use the standard winsock functions to implement the async versions. 2009-09-29 19:36:15 +02:00
Alexandre Julliard
8dcb6f3f3c ws2_32: Define a specific structure for each query type. 2009-09-29 19:35:59 +02:00
Alexandre Julliard
6905a6c2ad ws2_32: Define a common header struct for async queries, and switch to 32-bit types. 2009-09-29 18:29:32 +02:00
Alexandre Julliard
9c2abfc503 ws2_32: Split the async function callback by type of query. 2009-09-29 18:29:27 +02:00
Mike Kaplinskiy
45bd91b28b ws2_32/tests: Test WSAAccept with CF_DEFER. 2009-09-25 13:42:41 +02:00
Mike Kaplinskiy
3905c7a030 ws2_32: Try accepting a connection before blocking. 2009-09-25 13:42:36 +02:00
Mike Kaplinskiy
13eef3d691 ws2_32: Remember to convert ports to network byte order. 2009-09-15 16:41:25 -05:00
Ge van Geldorp
1c65c6d6f9 ws2_32/tests: Add acceptable error codes for Win7. 2009-09-08 12:11:56 +02:00
Juan Lang
8e42dbf7a5 ws2_32: Add a fixme for IPPROTO_IPV6. 2009-09-02 10:24:08 +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
Detlef Riekenberg
3d326eb5a8 ws2_32: Set WSAEINVAL on invalid levels in set+getsockopt. 2009-08-25 11:31:24 +02:00
Detlef Riekenberg
3e87a05476 ws2_32: Use only the lower 16 bit as level when calling [g|s]etsockopt from 16 bit. 2009-08-25 11:31:12 +02:00
Mike Kaplinskiy
9b906c6766 ws2_32/tests: Test connecting a pending accept socket. 2009-08-20 15:26:19 +02:00
Juan Lang
cdffa87666 ws2_32: Implement getsockopt(SOL_IRLMP, IRLMP_ENUMDEVICES). 2009-08-13 17:04:00 +02:00
Juan Lang
c3f2eceaf2 ws2_32: Add debug support for IrDA addresses. 2009-08-13 17:03:53 +02:00
Juan Lang
f166a9dfbd ws2_32: Implement ws_sockaddr_u2ws for AF_IRDA. 2009-08-13 17:03:45 +02:00
Juan Lang
2856794e66 ws2_32: Implement ws_sockaddr_ws2u for AF_IRDA. 2009-08-13 17:03:38 +02:00
Juan Lang
643466208b ws2_32: Allow binding to IrDA sockets if IrDA support is compiled in. 2009-08-13 17:03:14 +02:00
Juan Lang
b1a80b8837 ws2_32: Add AF_IRDA to the address family map. 2009-08-13 17:00:58 +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
Juan Lang
90c52c0180 ws2_32: Add debug support for IPv6 addresses. 2009-08-04 12:49:56 +02:00
Rein Klazes
d8f962e69c ws2_32: Do not make the unix file descriptor blocking. Too many places in the socket code assume it is not. 2009-07-24 11:51:35 +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
Marcus Meissner
f8600c706d ws2_32: Fixed buffer size to MultiByteToWideChar. 2009-07-20 12:20:22 +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
Juan Lang
778a1d85c4 ws2_32: Make sure sockaddr is big enough when formatting an IPv6 address. 2009-07-17 11:14:48 +02:00
Juan Lang
a9a1cd269c ws2_32: Remove an unnecessary cast. 2009-07-17 11:14:43 +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
Alexandre Julliard
48656f5596 ws2_32: Check buffers before recvmsg() to trigger write watches. 2009-07-09 15:21:30 +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
Alexandre Julliard
445567ea95 ws2_32: Use SIZE_T instead of size_t for inet_ntop argument. 2009-04-29 15:52:29 +02:00