Commit Graph

103 Commits

Author SHA1 Message Date
James Hawkins
7b56757cf6 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:13 +01:00
Andrew Talbot
e27ede4070 ws2_32: Remove unneeded casts. 2008-02-08 11:02:45 +01:00
Rob Shearman
dfce00677d ws2_32: Add a FIXME for WS_SIO_GET_EXTENSION_FUNCTION_POINTER in WSAIoctl. 2008-02-05 12:19:37 +01:00
Francois Gouget
44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Austin English
79c0bc28ff More spelling fixes. 2008-01-04 12:55:45 +01:00
Gerald Pfeifer
257f519eb5 ws2_32: Remove two noop checks. 2008-01-03 11:53:38 +01:00
Alexander Dorofeyev
d5a09fdda7 ws2_32: Fix timeout check. 2007-12-26 14:03:41 +01:00
Johannes Stezenbach
ca4d35fe48 ws2_32: Set *res = NULL for error return from WS_getaddrinfo(). 2007-12-23 14:17:12 +01:00
Kirill K. Smirnov
01380b0554 ws2_32: Fix flags conversion in getnameinfo() function. 2007-12-18 14:23:23 +01:00
Andrey Turkin
7a9210fa85 server: Pass Information field from async I/O APCs. 2007-11-15 14:24:50 +01:00
Andrey Turkin
27cb7c7274 ws2_32: Make certain winsock functions generate i/o completion messages. 2007-11-15 14:23:23 +01:00
Andrey Turkin
c702a91a3c server: Allow async i/o operations to send completion messages. 2007-11-15 14:20:29 +01:00
Gerald Pfeifer
e3b5610825 ws2_32/tests: Fix error checking. 2007-11-14 11:59:42 +01:00
Kai Blin
d35c13c621 ws2_32: Cope with buggy apps passing setsockopt optval as a value instead of a pointer. 2007-11-12 13:03:57 +01:00
Kai Blin
58b030c270 ws2_32: Map SO_REUSEADDR.
BSD socket SO_REUSEADDR is not a complete match, but features like
"allow binding to a port immediately after closing it" seem to be compatible.
2007-11-05 13:24:37 +01:00
Aric Stewart
6c824e8b89 ws2_32: Return proper WSAENOBUFS error when enuming protocols. 2007-10-19 12:15:43 +02:00
Juan Lang
17248108d4 ws2_32: Fix broadcast address calculation. 2007-10-15 12:10:32 +02:00
Damjan Jovanovic
5591c969a6 ws2_32: Silently ignore WS_IP_DONTFRAGMENT. 2007-10-04 12:03:41 +02:00
Philip Nilsson
65dbd2b114 ws2_32/tests: Add a testcase for binding with IPv6 and IPv4 on the same port. 2007-09-25 13:51:47 +02:00
Philip Nilsson
1399a6eaf8 ws2_32: Set IPV6_V6ONLY when required to be compatible with Windows. 2007-09-25 13:51:40 +02:00
Tijl Coosemans
1233b4b27b ws2_32/tests: Don't wait for FD_CONNECT event when non-blocking connect() was successful. 2007-09-19 11:41:49 +02:00
Aric Stewart
d35857dfbf ws2_32: Initialize the address to 0 in ws_sockaddr_ws2u. 2007-07-25 13:00:41 +02:00
Damjan Jovanovic
827644ad71 ws2_32: Sending 0 bytes shouldn't cause an infinite loop. 2007-07-24 11:50:08 +02:00
Damjan Jovanovic
15428534d8 ws2_32: Update WSASendTo's iovec properly. 2007-07-16 13:38:19 +02:00
Ben Hodgetts
f438e524e7 ws2_32: Don't tell users to run Wine as root when sockets not creatable. 2007-07-03 12:29:13 +02:00
Kai Blin
fd133237b0 ws2_32: Handle IPv6 in WSAStringToAddress. 2007-07-02 13:35:41 +02:00
Kai Blin
d89f2b4810 ws2_32: Return WSAEINVAL for unhandled address families in WSAStringToAddress.
Prepare for IPv6 support.
2007-06-29 13:47:30 +02:00
Alexandre Julliard
0bd2b548da ws2_32: Don't print traces from async I/O callbacks. 2007-06-29 13:40:48 +02:00
Damjan Jovanovic
1cf9436efe ws2_32: getsockname should fail on unbound socket. 2007-06-15 12:40:20 +02:00
Kai Blin
f500591f38 ws2_32: Add mapping for STATUS_OBJECT_TYPE_MISMATCH to WSAENOTSOCK. 2007-06-06 12:10:01 +02:00
Alexandre Julliard
597dac7890 ws2_32: Rewrite WSAGetOverlappedResult for the new async I/O behavior. 2007-06-04 23:03:20 +02:00
Alexandre Julliard
7c6bc78b90 ntdll: Get rid of the num_async_io counter in the TEB. 2007-06-04 18:17:16 +02:00
Alexandre Julliard
e32252efae ws2_32: Queue a proper user APC also on immediate success in WSARecvFrom/WSASendTo. 2007-06-04 17:44:24 +02:00
Alexandre Julliard
8992f89f27 server: Remove the extra apc_arg parameter now that user APCs all require the same arg as the kernel APC. 2007-06-04 15:20:49 +02:00
Francois Gouget
cfbd3384e2 ws2_32: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-06-04 12:49:22 +02:00
Alexandre Julliard
f2febca8f6 ws2_32: Simplify the async shutdown handling, and remove a bunch of no longer used code. 2007-06-03 11:58:30 +02:00
Alexandre Julliard
40b4072884 ws2_32: Call the I/O completion routine as a user APC. 2007-06-03 11:58:30 +02:00
Alexandre Julliard
7bee1d3583 ws2_32: Reimplement WSASendTo along the lines of NtWriteFile. 2007-06-03 11:58:29 +02:00
Damjan Jovanovic
b23d90a543 ws2_32: gethostbyname("") should work. 2007-06-01 12:40:40 +02:00
Alexandre Julliard
b281d3f8d8 ws2_32: Don't modify last error in async I/O callback. 2007-06-01 11:15:33 +02:00
Alexandre Julliard
a1192b03d1 ws2_32: Re-enable FD_READ also when returning EWOULDBLOCK from WSARecvFrom(). 2007-06-01 11:14:44 +02:00
Alexandre Julliard
9db8574540 ws2_32: Allocate iovec buffers statically using MSG_MAXIOVLEN. 2007-05-31 12:15:08 +02:00
Alexandre Julliard
442bd1b5fc ws2_32: Store the local iosb in the ws2_async structure to avoid a memory allocation. 2007-05-31 12:07:14 +02:00
Alexandre Julliard
6759e1c286 ws2_32: Reimplement WSARecvFrom along the lines of NtReadFile. 2007-05-31 11:55:38 +02:00
Alexandre Julliard
42e560d001 ws2_32: Avoid memory allocations for sockaddr conversion. 2007-05-30 20:11:58 +02:00
Kai Blin
29b3a16306 ws2_32: Make WS2_send trace more readble. 2007-05-29 11:54:29 +02:00
Andrew Talbot
9d59c0300c ws2_32: Exclude unused headers. 2007-05-29 11:53:53 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Damjan Jovanovic
8178f8fc88 ws2_32: Simplify some socket tests by adding a function that generates a pair of connected sockets. 2007-05-25 20:20:58 +02:00
Paul Vriens
f570fd314c ws2_32/tests: Add required parameter to CreateThread (for Win9x and WinME). 2007-04-25 12:44:09 +02:00