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 |
Bruno Jesus
|
0298165bea
|
ws2_32: Filter invalid socket parameters and return the appropriate error.
|
2013-09-17 19:07:49 +02:00 |
Bruno Jesus
|
35e54fa59b
|
ws2_32: Auto detect the socket type and family based on the protocol.
|
2013-09-17 19:07:29 +02:00 |
Bruno Jesus
|
8e29fcddb9
|
ws2_32: Use the struct information when the parameters are zero in WSASocket.
|
2013-09-17 19:07:14 +02:00 |
Bruno Jesus
|
29aab5df59
|
ws2_32: Fix the error returned for denied SOCK_RAW attempts.
|
2013-09-16 11:47:19 +02:00 |
Bruno Jesus
|
5762067b20
|
ws2_32: Fix WSASocket return code for invalid combination of socket type and protocol.
|
2013-09-16 11:47:19 +02:00 |
Bruno Jesus
|
78ca87a00b
|
ws2_32: Make WS_EnterSingleProtocol return a boolean.
|
2013-09-16 11:47:19 +02:00 |
Bruno Jesus
|
44ea5334ca
|
ws2_32: Avoid magic numbers.
|
2013-09-16 11:47:19 +02:00 |
Bruno Jesus
|
e0581b38a7
|
ws2_32: Advertise protocol entries as default.
|
2013-09-16 11:47:19 +02:00 |
Bruno Jesus
|
d71bf64e87
|
ws2_32: Fix WSADuplicateSocket implementation.
|
2013-09-11 20:33:20 +02:00 |
Bruno Jesus
|
dea4f7bc02
|
ws2_32: Implement get socket option SO_PROTOCOL_INFO.
|
2013-09-10 12:27:35 +02:00 |
Bruno Jesus
|
0816f85b6b
|
ws2_32: Implement WSADuplicateSocket[A|W] using a helper function.
|
2013-09-09 22:09:59 +02:00 |
Bruno Jesus
|
4981b5b446
|
ws2_32: Remove a FIXME message.
|
2013-09-06 17:25:21 +02:00 |
Bruno Jesus
|
b2170d845d
|
ws2_32: Fix SO_ACCEPTCONN on BSD systems.
|
2013-09-06 17:25:17 +02:00 |
Bruno Jesus
|
0b03dc93e9
|
ws2_32: Add parameters TRACE for WS_EnumProtocols.
|
2013-09-06 17:25:15 +02:00 |
Bruno Jesus
|
1d1faa0283
|
ws2_32: Cope with invalid protocols in WSAEnumProtocols.
|
2013-09-05 16:21:48 +02:00 |
Bruno Jesus
|
03362e5a3d
|
ws2_32: Merge protocol.c and socket.c.
|
2013-09-04 11:35:34 +02:00 |
Bruno Jesus
|
3fea3a5b1a
|
ws2_32: Fix listen() implementation.
|
2013-07-27 12:20:21 -05:00 |
Erich Hoover
|
74010aa0e7
|
ws2_32: Fix interface-bound filter to accept locally generated targeted packets.
|
2013-06-25 19:42:34 +02:00 |
André Hentschel
|
f208e9ef07
|
ws2_32: Don't use autoheader styled define.
|
2013-06-18 12:57:44 +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 |
Michael Stefaniuc
|
f21d45417f
|
ws2_32: Use assignment instead of memcpy to copy structs.
|
2013-01-24 14:34:12 +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 |
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 |
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 |
André Hentschel
|
c5089d18b7
|
ws2_32: Remove unneeded shadow variable.
|
2012-04-23 11:42:45 +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 |
Jeff Latimer
|
a84f7204af
|
ws2_32: Make a common fixme more meaningful and return success.
|
2012-04-02 12:39:12 +02:00 |
Ričardas Barkauskas
|
1bbe92e79b
|
ws2_32: Don't post completion packet if sending fails with error immediately.
|
2011-12-28 18:59:48 +01:00 |
Hans Leidekker
|
c42989ed9a
|
ws2_32: Return the right value for SO_CONNECT_TIME if the socket is not connected.
|
2011-12-19 20:15:51 +01:00 |
Francois Gouget
|
c7cb3e6cb2
|
configure: Use errno.h instead of the non-standard sys/errno.h header.
|
2011-12-15 17:46:38 +01:00 |
Francois Gouget
|
3fe2d6e5fd
|
include: Update the nldef.h and *mib.h headers.
|
2011-12-15 10:49:17 +01:00 |
Francois Gouget
|
644cd0ae17
|
include: Add a missing wincrypt.h include directive to mprapi.h.
Also add the USE_WC_PREFIX macro so one can cleanly deal with the CMSG_DATA conflict with sys/socket.h.
|
2011-12-13 18:59:03 +01:00 |
Bruno Jesus
|
da6efc8f62
|
ws2_32: Fix a function name comment.
|
2011-12-05 12:22:54 +01:00 |
Bruno Jesus
|
743929e4f4
|
ws2_32: Fix function GetAcceptExSockaddrs.
|
2011-11-28 16:40:50 +01:00 |
Hans Leidekker
|
8e5d5bf58a
|
ws2_32: Pass NULL nodename on to native getaddrinfo.
|
2011-11-24 17:17:30 +01:00 |
Bruno Jesus
|
06d759ed7e
|
ws2_32: Invert SIOCATMARK logic.
|
2011-11-21 16:16:34 +01:00 |
Francois Gouget
|
c9ae82da93
|
ws2_32: Delete the static critical section when unloading the dll.
|
2011-11-17 11:37:44 +01:00 |
Hans Leidekker
|
75be2284e1
|
ws2_32: Fix handling of NULL and empty hostname in getaddrinfo/GetAddrInfoW.
|
2011-11-15 19:37:29 +01:00 |
Andrew Talbot
|
a38b3008c5
|
ws2_32: Remove unneeded address-of operator from array name.
|
2011-11-04 14:45:01 +01:00 |
Andrew Talbot
|
35555862fc
|
ws2_32: Replace switch statement with more suitable if statement.
|
2011-10-21 12:11:51 +02:00 |
Andrew Talbot
|
4bebe6287c
|
ws2_32: Mark a fall-through in a switch statement.
|
2011-10-21 12:11:45 +02:00 |
Bruno Jesus
|
d278834dab
|
ws2_32: Fix UDP LINGER support in getsockopt.
|
2011-10-04 15:26:22 -05:00 |
Hans Leidekker
|
94f431e3ee
|
ws2_32: Avoid a crash in WS2_recv_base.
|
2011-09-14 14:55:46 +02:00 |
Bruno Jesus
|
fd7b94bcd2
|
ws2_32: SO_OOBINLINE sockets must always return TRUE to SIOCATMARK request.
|
2011-09-13 17:17:00 +02:00 |
Bruno Jesus
|
8f3dabf3c4
|
ws2_32: Remove an unnecessary test.
|
2011-09-09 13:34:13 +02:00 |
Bruno Jesus
|
2e08b31f7c
|
ws2_32: Fix support for SIO_KEEPALIVE_VALS.
|
2011-09-08 20:08:06 +02:00 |
Bruno Jesus
|
312f50a26f
|
ws2_32: Avoid an unhandled exception in WSAIoctl.
|
2011-09-06 12:23:55 +02:00 |
Bruno Jesus
|
733c7f2c72
|
ws2_32: Fix a leak in WS2_AcceptEx.
|
2011-09-05 10:56:04 +02:00 |
Bruno Jesus
|
bebc425bb5
|
ws2_32: Fix false-positive write fds on select().
|
2011-08-24 11:45:18 +02:00 |
Frédéric Delanoy
|
7e309601f3
|
dlls: Assorted spelling fixes.
|
2011-08-03 14:15:50 +02:00 |
Frédéric Delanoy
|
754dffe1e5
|
ws2_32: Remove dead assignment (Clang).
|
2011-07-06 11:27:12 +02:00 |
Austin English
|
eba8216fcc
|
ws2_32: Define sipx_network / sipx_node for DragonFly BSD.
|
2011-07-01 17:29:37 +02:00 |
André Hentschel
|
dc16a01fdf
|
ws2_32: Handle null pointer for linger values.
|
2011-06-21 14:51:14 +02:00 |
Hans Leidekker
|
3581d2c6d1
|
ws2_32: Accept NULL lpNumberOfBytesSent for overlapped calls to WSASend/To.
|
2011-06-14 13:09:29 +02:00 |
Andrew Nguyen
|
e9e0df23b8
|
ws2_32/tests: Avoid casting a WSAAccept function pointer parameter in test_accept.
|
2011-06-03 17:43:59 +02:00 |