Commit Graph

411 Commits

Author SHA1 Message Date
Bruno Jesus 63fb7a798c ws2_32: Fix service flags returned from TCP and UDP protocols. 2013-07-31 16:29:48 +02:00
Bruno Jesus 4133fb4341 ws2_32/tests: Add SO_ACCEPTCONN tests. 2013-07-30 19:12:19 +02:00
Bruno Jesus a9f3c1974d ws2_32/tests: Add more tests for WSASocket(). 2013-07-29 14:27:59 +02:00
Bruno Jesus 3fea3a5b1a ws2_32: Fix listen() implementation. 2013-07-27 12:20:21 -05:00
Bruno Jesus 9ea1835b82 ws2_32/tests: Add listen() tests for TCP sockets. 2013-07-22 09:38:19 +02:00
Erich Hoover 74010aa0e7 ws2_32: Fix interface-bound filter to accept locally generated targeted packets. 2013-06-25 19:42:34 +02:00
Hans Leidekker 1d8b70fca4 ws2_32/tests: Avoid races. 2013-06-25 18:12:11 +02:00
André Hentschel f208e9ef07 ws2_32: Don't use autoheader styled define. 2013-06-18 12:57:44 +02:00
André Hentschel 749bb1db35 ws2_32/tests: Don't test functions directly when reporting WSAGetLastError(). 2013-06-10 11:49:49 +02:00
Qian Hong 31b9455b7e server: Automatically sets a socket to non-blocking mode when WSAAsyncSelect or WSAEventSelect is called even when lEvent is zero. 2013-05-28 19:43:48 +02:00
Marcus Meissner 1a10d4d0cd ws2_32: Close the dest socket (Coverity). 2013-05-28 14:32:50 +02:00
Alexandre Julliard f38cbfc99d ws2_32: Don't bother to free memory at process exit. 2013-05-15 10:34:26 +02:00
Dmitry Timoshkov c09c82b25a ws2_32: Make _is_blocking() return server error code, so that callers can act appropriately. 2013-03-25 16:26:34 +01:00
Andrew Talbot 05d5654237 ws2_32: Avoid signed-unsigned integer comparisons. 2013-03-08 11:00:42 +01:00
Alexandre Julliard cfed5aa16c ws2_32: Use socklen_t where appropriate. 2013-03-06 13:41:06 +01:00
Francois Gouget 867615419e ws2_32/tests: Fix the GetAcceptExSockaddrs() test. 2013-02-15 11:55:39 +01:00
Francois Gouget a5ff4b8088 Assorted spelling fixes. 2013-01-29 12:13:04 +01:00
Michael Stefaniuc f21d45417f ws2_32: Use assignment instead of memcpy to copy structs. 2013-01-24 14:34:12 +01:00
Bruno Jesus 02c199beed ws2_32/tests: Add SO_ERROR [set|get]sockopt tests. 2013-01-18 13:29:00 +01:00
Hans Leidekker 197041f1ff ws2_32: Set SO_REUSEPORT in addition to SO_REUSEADDR on MacOS. 2013-01-11 18:31:00 +01:00
Andrew Talbot 26898ef784 ws2_32: Remove unused semicolon. 2012-12-03 12:33:19 +01:00
Michael Stefaniuc 0b02d25f6d ws2_32: Avoid using sizeof on structs with variable length array. 2012-11-16 11:42:32 +01:00
Frédéric Delanoy 378e86fafa ws2_32/tests: Remove dead code (coverity). 2012-10-29 14:39:58 +01:00
Maarten Lankhorst 7ce6a2dfd4 ws2_32: Define IP_UNICAST_IF if not found on linux. 2012-10-29 14:39:57 +01:00
Erich Hoover 9f1b1bef5c ws2_32: Silence error when binding to loopback adapter. 2012-10-12 11:01:53 +02:00
Bruno Jesus af8dc8090a ws2_32: Fix some style issues. 2012-10-03 11:25:03 +02:00
Erich Hoover 57019615b5 ws2_32: Permit broadcast packets on interface-bound sockets for systems with IP_UNICAST_IF and SO_ATTACH_FILTER. 2012-10-02 15:05:20 +02:00
Erich Hoover 9f2f7600c5 ws2_32: Permit broadcast packets on interface-bound sockets for systems with IP_BOUND_IF. 2012-10-02 15:04:08 +02:00
Bruno Jesus a82278c349 ws2_32: Fix TRACE format in WS_getsockname. 2012-10-02 14:08:37 +02:00
Michael Stefaniuc 6132ed66a6 ws2_32: Avoid a FALSE:TRUE conditional expression. 2012-08-15 12:12:54 +02:00
Francois Gouget 6333fa753a Assorted spelling fixes. 2012-07-03 12:03:29 +02:00
Per Johansson a239e8ed27 ws2_32: In WSAIoctl(SIO_GET_INTERFACE_LIST), skip interfaces with no IPv4 address. 2012-06-22 14:09:51 +02:00
Thomas Faber c574ab9680 ws2_32/tests: Add missing parentheses to ok() output. 2012-06-18 11:59:41 +02:00
Bruno Jesus b2af5e1d31 ws2_32: Fix hostent memory allocation. 2012-06-12 10:20:10 +02:00
Erich Hoover 7e9e8b6b80 ws2_32: Use STATUS_MORE_PROCESSING_REQUIRED to indicate that the AcceptEx async should not send a completion. 2012-06-07 16:07:02 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Erich Hoover baa0056385 ws2_32/tests: Fix cleanup for first IOCP duplicated handle test. 2012-05-07 11:30:53 +02:00
Erich Hoover 74560c1d39 ws2_32/tests: Test for IOCP behavior without AcceptEx call. 2012-05-01 19:14:41 +02:00
Erich Hoover a766ee4b1d ws2_32/tests: Test for AcceptEx IOCP behavior for a duplicated handle. 2012-05-01 19:14:36 +02:00
Erich Hoover 23a785af7e ws2_32/tests: Test for AcceptEx IOCP behavior for cancelled sockets. 2012-05-01 19:14:31 +02:00
Erich Hoover 1e0b65f3a2 ws2_32/tests: AcceptEx IOCP initialization cleanup. 2012-05-01 19:14:27 +02:00
André Hentschel c5089d18b7 ws2_32: Remove unneeded shadow variable. 2012-04-23 11:42:45 +02:00
Bruno Jesus 3b2fcdd426 ws2_32/tests: Avoid crashing if getservbyname fails. 2012-04-11 19:12:30 +02:00
Bruno Jesus d209697073 ws2_32/tests: Update hostent struct tests. 2012-04-11 19:12:22 +02:00
Erich Hoover 1d49c66929 ws2_32: Implement IPV6_UNICAST_IF socket option. 2012-04-10 16:21:28 +02:00
Erich Hoover 313d36d5aa ws2_32: Implement IP_UNICAST_IF socket option. 2012-04-10 16:21:28 +02:00
Bruno Jesus 7d7995c66c ws2_32/tests: Add hostent struct tests for gethostbyname. 2012-04-09 12:06:52 +02:00
Jeff Latimer a84f7204af ws2_32: Make a common fixme more meaningful and return success. 2012-04-02 12:39:12 +02:00
Bruno Jesus 9f6ce27ede ws2_32/tests: Avoid usage of inet_ntoa since its return is static. 2012-04-02 12:38:51 +02:00
Bruno Jesus 70be64b2ba ws2_32: Handle NULL proto in WSAAsyncGetServByName. 2012-03-26 18:15:34 +02:00