Commit Graph

316 Commits

Author SHA1 Message Date
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 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 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
Jacek Caban 35f164fac8 ws2_32: Improved WSAIoctl debug messages. 2014-03-06 16:25:38 +01: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
Francois Gouget bff3d35e20 Assorted spelling fixes. 2014-01-30 15:00:34 +01:00
Bruno Jesus 4c6e04050f ws2_32: Return the correct address family in WSAStringToAddressA. 2014-01-27 14:13:52 +01:00
Marcus Meissner 54dc91547d ws2_32: handle error return from get_sock_fd (Coverity). 2014-01-06 20:47:00 +01:00
André Hentschel 57d2e8f3c3 ws2_32: Don't leak hostname (Coverity). 2014-01-06 17:16:55 +01:00
Bruno Jesus 281f69bccf ws2_32: Fix FreeBSD compiling issue on ipx address structure. 2014-01-06 16:59:15 +01:00
Bruno Jesus 719715c774 ws2_32: Cope with invalid hints in getaddrinfo/GetAddrInfoW. 2013-12-31 12:24:30 +01:00
Bruno Jesus 3eb39dc08e ws2_32: Add extended IPX protocol support. 2013-12-31 12:23:52 +01:00
Bruno Jesus 2d4adfc49e ws2_32: Use a helper function to set the IPX packet type. 2013-12-31 12:23:37 +01:00
Bruno Jesus b26ffddc8f ws2_32: Add a missing release_sock_fd. 2013-12-31 12:23:21 +01:00
Bruno Jesus ae728cfa27 ws2_32: Add support to check if an IPX socket is bound. 2013-12-30 16:05:17 +01:00
Bruno Jesus 38a3a574f3 ws2_32: Add support to print IPX socket address. 2013-12-30 16:05:14 +01:00
Bruno Jesus 658c2b5f28 ws2_32: Normalize IPX protocol names using the WS prefix. 2013-12-27 18:21:29 +01:00
Bruno Jesus fc5884c232 ws2_32: Do not convert EAI_xxx return in case of success. 2013-12-27 14:31:52 +01:00
Dmitry Timoshkov c66c14ddda ws2_32: Move the buffer used by inet_ntoa into the per-thread data. 2013-12-26 14:35:14 +01:00
Dmitry Timoshkov 7fd3d9d499 ws2_32: Add more traces. 2013-12-26 14:35:13 +01:00
Dmitry Timoshkov e25853c543 ws2_32: Add translation for AI_V4MAPPED. 2013-12-26 13:46:32 +01:00
Dmitry Timoshkov 83a1789c55 ws2_32: Add a workaround for broken versions of glibc which return EAI_SYSTEM and set errno to 0 instead returning of EAI_NONAME. 2013-12-26 13:44:59 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy aedb86a46f ws2_32: Use BOOL type where appropriate. 2013-10-08 09:09:40 +02:00
Hans Leidekker 1422a56667 ws2_32: Always return the source address from WSAAccept. 2013-10-02 20:18:23 +02:00
Hans Leidekker 260119e682 ws2_32: Return an error from accept if the address buffer is too small. 2013-10-02 20:18:23 +02:00
Hans Leidekker 14a092a336 ws2_32: Always clear res on error in getaddrinfo/GetAddrInfoW. 2013-10-02 20:18:23 +02:00
Hans Leidekker 59a1e6bff9 ws2_32: Avoid a crash with tracing on. 2013-10-02 20:18:23 +02:00
Bruno Jesus adb8fb115a ws2_32: Implement WSASendMsg(). 2013-10-01 10:56:10 +02:00
Bruno Jesus d0009573ee ws2_32: Fix some parameters checking in AcceptEx. 2013-09-23 11:53:34 +02:00
Bruno Jesus cba19b9027 ws2_32: Add missing else to getsockopt(SO_ACCEPTCONN). 2013-09-23 11:51:03 +02:00
Bruno Jesus 68377494c6 ws2_32: ConnectEx should not work on unbound socket. 2013-09-20 11:26:48 +02:00
Bruno Jesus e9bd764a7b ws2_32: Make getsockopt(SO_TYPE) convert the returned socket type. 2013-09-19 09:30:40 +02:00
Bruno Jesus 2034f51598 ws2_32: Do not allow socket creation if WSAStartup was not called. 2013-09-17 19:07:54 +02:00