Commit Graph

527 Commits

Author SHA1 Message Date
Bruno Jesus 1c4cb63036 ws2_32: Implement getsockopt(SO_BSP_STATE). 2014-12-09 20:05:58 +01:00
Bruno Jesus d7a8beb0f7 ws2_32: Filter unset bits when argument is smaller than 32 bits. 2014-12-05 20:47:40 +01:00
Bruno Jesus 14324fec97 ws2_32/tests: Add SO_BSP_STATE tests. 2014-12-05 20:47:30 +01:00
Sebastian Lackner d824b1ac3c ws2_32: Improve implementation of get_poll_results. 2014-12-02 15:04:39 +01:00
Joachim Priesner 6eba688f2c ws2_32: Use qsort() to order routes by metric in WS_get_local_ips. 2014-12-02 13:07:33 +01:00
Sebastian Lackner d57ccd54f8 ws2_32/tests: Fix several copy and paste errors. 2014-12-01 11:11:05 +01:00
Piotr Caban 6d5b7c7344 ws2_32/tests: Add more select tests. 2014-11-28 19:18:15 +01:00
Piotr Caban 459837ece4 ws2_32: Add support for overlapping fd_sets in select. 2014-11-28 19:18:10 +01:00
Sebastian Lackner 69cc90957c ws2_32/tests: Wait for thread termination before cleaning up winsock. 2014-11-20 22:34:48 +09:00
Bruno Jesus 344bc6d72b ws2_32: Add tests and implement inet_pton.
Special thanks to Erich Hoover.
2014-11-04 13:28:16 +09:00
Alistair Leslie-Hughes a5df09b404 ws2_32: Make SOCKET output consistent. 2014-10-08 10:18:55 +02:00
Henri Verbeet c0e49c5c40 ws2_32: Simplify some address calculations for SIO_ADDRESS_LIST_QUERY. 2014-10-07 20:22:04 +02:00
Henri Verbeet 32724def72 ws2_32: Return an error if "out_buff" is NULL for SIO_ADDRESS_LIST_QUERY. 2014-10-07 20:22:03 +02:00
Henri Verbeet b914a6461b ws2_32: Return WSAEINVAL if "out_size" is smaller than the minimum size for SIO_ADDRESS_LIST_QUERY. 2014-10-06 19:38:12 +02:00
Henri Verbeet 4e6ebd633a ws2_32: Return the needed buffer size for SIO_ADDRESS_LIST_QUERY. 2014-10-06 19:38:10 +02:00
Austin English f6dad55dab ws2_32: Don't assume AI_V4MAPPED is available. 2014-09-11 10:16:11 +02:00
Gerald Pfeifer 7432a8588c ws2_32: Define fill_control_message only when it's really used. 2014-08-21 18:02:24 +02:00
Bruno Jesus adde46f552 ws2_32: Improve WSAStartup/WSACleanup tracing. 2014-07-03 18:17:36 +02:00
Bruno Jesus 543314d449 ws2_32: Only declare IPX support if the required definitions are found. 2014-07-03 11:41:55 +02:00
Frédéric Delanoy 95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Bruno Jesus 6f47a9d9d8 ws2_32: Don't call WS_EnterSingleProtocol[A|W] on unsupported protocols (valgrind). 2014-06-16 09:39:42 +02:00
Bruno Jesus e3998e3988 ws2_32/tests: Wait for thread test before returning (valgrind). 2014-06-16 09:39:29 +02:00
Bruno Jesus 79d29e2347 ws2_32/tests: Initialize a test buffer (valgrind). 2014-06-12 18:05:21 +02:00
Bruno Jesus 1184fe90b2 ws2_32: Avoid memory allocation for simple receives. 2014-05-20 09:41:01 +02:00
Bruno Jesus 752219396d ws2_32: Avoid memory allocation for simple sends. 2014-05-20 09:40:52 +02:00
Bruno Jesus 25bc6de842 ws2_32: Take care of EINTR inside the helpers. 2014-05-19 09:51:54 +02:00
Bruno Jesus 443edfa1da ws2_32: Avoid magic numbers in shutdown() function. 2014-05-12 10:55:54 +02:00
Bruno Jesus 843ef11eb8 ws2_32: Return the correct error if SO_REUSEADDR is set in bind error. 2014-05-09 14:17:00 +02:00
Bruno Jesus 43241934c6 ws2_32: Avoid using WS_ prefix on unix sockaddr struct.
The address was already converted to unix in these situations, so it's
wrong to check against windows #defines.
2014-05-08 10:30:05 +02:00
Bruno Jesus eda14e611c ws2_32/tests: Test more the behavior of SO_REUSEADDR. 2014-05-07 10:25:58 +02:00
Bruno Jesus 3fe0a31d14 ws2_32: Convert the magic loopback address back to 127.0.0.1 in gethostbyaddr. 2014-04-18 10:52:09 +02:00
Bruno Jesus c33e7308ad ws2_32: Use the correct address family in gethostbyaddr. 2014-04-15 21:03:54 +02:00
Erich E. Hoover 5963d7f09c ws2_32: Ask the server to process unsupported WSAIoctl operations. 2014-03-28 17:46:04 +01:00
Thomas Faber 626040b1ac ws2_32: Avoid a variable-length array. 2014-03-25 19:01:14 +01:00
Austin English 171748da4d ws2_32: Skip some tests on broken ISPs. 2014-03-24 11:40:44 +01:00
Hans Leidekker 77f5f01bbb ws2_32/tests: Mark some test results on Windows 8 as broken. 2014-03-07 14:11:35 +01:00
Jacek Caban 35f164fac8 ws2_32: Improved WSAIoctl debug messages. 2014-03-06 16:25:38 +01:00
André Hentschel b05a3e999c ws2_32/tests: Get rid of the do_oob_send helper function. 2014-03-06 13:38:35 +01:00
André Hentschel ec7c5907f7 ws2_32/tests: Test OOB data more sequential by sending bidirectional. 2014-03-06 13:38:35 +01:00
Bruno Jesus de0c46fd52 ws2_32/tests: Add W2K error values as valid. 2014-02-22 08:41:34 -06:00
Bruno Jesus 5782bac2a0 ws2_32: Fix conversion of address in GetAddrInfoW. 2014-02-20 13:28:46 +01:00
Bruno Jesus da16d6b660 ws2_32: Fix edge case for getaddrinfo in BSD and OSX. 2014-02-17 11:28:20 +01:00
Bruno Jesus e5fba2d54c ws2_32: Add AI_NUMERICSERV support. 2014-02-13 10:43:58 +01:00
Bruno Jesus 3c64a7c4e2 ws2_32: Fix some parameters checking in AcceptEx. 2014-02-06 17:08:13 +01:00
Bruno Jesus 7a8d43043a ws2_32/tests: Fix AcceptEx tests related to address length. 2014-02-05 13:49:26 +01:00
Francois Gouget bff3d35e20 Assorted spelling fixes. 2014-01-30 15:00:34 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Bruno Jesus 84d91bb93d ws2_32/tests: Add missing closesocket calls (Coverity). 2014-01-27 14:13:53 +01:00
Bruno Jesus 4c6e04050f ws2_32: Return the correct address family in WSAStringToAddressA. 2014-01-27 14:13:52 +01:00
Francois Gouget e8e97f165d ws2_32/tests: Add a trailing '\n' to a win_skip() call. 2014-01-10 18:14:54 +01:00