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 |
Mike Kaplinskiy
|
42debac149
|
server: Move socket async activation to sock_poll_event.
|
2010-05-17 14:41:33 +02:00 |
Mike Kaplinskiy
|
ebf20d6645
|
ws2_32/tests: fix test failures on wine and win98.
|
2010-05-17 12:42:31 +02:00 |
Alexandre Julliard
|
861989596f
|
ws2_32/tests: Fix non-portable syntax.
|
2010-05-14 11:42:43 +02:00 |
Mike Kaplinskiy
|
688b94b43d
|
ws2_32/tests: Add some socket event tests.
|
2010-05-13 11:51:28 +02:00 |
Kai Blin
|
8a00bdddc0
|
ws2_32: Stub out WS_SIO_UDP_CONNRESET WSioctl.
|
2010-05-11 16:28:33 +02:00 |
Mike Kaplinskiy
|
df710826e1
|
ws2_32: Improve SIO_GET_EXTENSION_FUNCTION_POINTER stub.
|
2010-05-10 13:43:43 +02:00 |
Stefan Leichter
|
5ccbcfdec7
|
ws2_32: In setsockopt implement IPV6_ADD_MEMBERSHIP and IPV6_DROP_MEMBERSHIP only when supported.
|
2010-04-05 11:37:11 +02:00 |
Stefan Leichter
|
89aaf74f1f
|
ws2_32: Partly implement level IPPROTO_IPV6 of getsockopt.
|
2010-04-02 10:38:31 +02:00 |
Stefan Leichter
|
d0eaf2ce0e
|
ws2_32: Partly implement level IPPROTO_IPV6 of setsockopt.
|
2010-03-31 16:12:07 +02:00 |
Mikhail Maroukhine
|
cad91b8d50
|
ws2_32: Fix compiler warnings with flag -Wcast-qual.
|
2010-03-29 12:18:22 +02:00 |
Mike Kaplinskiy
|
03651926b7
|
ws2_32/tests: Fix win9x test failure.
|
2010-03-24 19:01:38 +01:00 |
Mike Kaplinskiy
|
5d72f63bd7
|
ws2_32/tests: Test a WSARecv error condition.
|
2010-03-23 12:36:02 +01:00 |
Mike Kaplinskiy
|
798c9e5161
|
ws2_32: Use ntstatus in overlapped functions.
|
2010-03-23 12:35:56 +01:00 |
Alexandre Julliard
|
bef5645eb1
|
makefiles: Remove the no longer needed explicit separators for dependencies.
|
2010-03-16 13:28:19 +01:00 |
Alexandre Julliard
|
6164ce2d82
|
makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
|
2010-02-22 10:47:11 +01:00 |
Jason Edmeades
|
6cea48b928
|
ws2_32: Support indefinite receive timeouts.
|
2010-02-12 11:54:30 +01:00 |
Paul Vriens
|
45fc31e803
|
ws2_32/tests: Fix test failures on Win9x/WinMe.
|
2010-02-08 17:14:44 +01:00 |
Marcus Meissner
|
d281252196
|
ws2_32: Check namelen before dereferencing it in TRACE (Coverity).
|
2010-02-04 17:27:27 +01:00 |
Andrew Nguyen
|
1bcc3aa35c
|
ws2_32: Fix parameter validation order in getpeername.
|
2010-02-03 11:07:21 +01:00 |
Erich Hoover
|
896af79093
|
ws2_32: Fix allocating a hostent with no h_aliases list.
|
2009-12-15 16:09:12 +01:00 |
Erich Hoover
|
355818ae1e
|
ws2_32: Return the full list of local IP addresses when gethostbyname() is called on the local hostname.
|
2009-12-10 12:51:52 +01:00 |
Erich Hoover
|
f9f9566c74
|
ws2_32: Separate out hostent creation from duplication.
|
2009-12-10 12:51:47 +01:00 |
Roderick Colenbrander
|
6a8aae0bec
|
ws2_32: Use winediag for socket failures.
|
2009-12-08 17:43:45 +01:00 |
Rob Shearman
|
0d10ddd4d5
|
ws2_32: Initialise buffer eventually passed into send to zero in test_write_events.
|
2009-12-01 15:10:37 +01:00 |
André Hentschel
|
511c76dfdf
|
ws2_32/tests: Test for initial state of SIOCATMARK.
|
2009-11-10 13:13:04 +01:00 |
André Hentschel
|
905dc0c8fc
|
ws2_32: Fix a comment.
|
2009-11-09 20:43:49 +01:00 |
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 |
Hans Leidekker
|
140eede67d
|
ws2_32: Avoid accessing uninitialized memory in GetAddrInfoW.
Found by valgrind.
|
2009-10-29 13:50:58 +01:00 |
Dmitriy Anisimkov
|
f951deec6f
|
ws2_32: Ignore EINTR poll result code in WS_select.
|
2009-10-21 17:02:43 +02:00 |
Juan Lang
|
d1963ee2f1
|
ws2_32: Don't overwrite address length before checking it.
|
2009-10-19 14:41:49 +02:00 |
Alexandre Julliard
|
190d7e74ec
|
ws2_32: Set Information to 0 upon completion of an async shutdown.
|
2009-10-19 11:44:20 +02:00 |
Francois Gouget
|
78d413d424
|
ws2_32: Make wsaErrno() and wsaHerrno() static.
|
2009-10-07 15:17:24 +02: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 |
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 |