Commit Graph

42 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Alexandre Julliard
d85121f199 ntdll: Store the file access and options in the fd cache, and get rid of the dynamic flags.
This avoids server round-trips for all file I/O.
2007-04-10 22:32:46 +02:00
Alexandre Julliard
72bff2e445 server: Add support for restarting an async I/O when the client side couldn't finish it right away. 2007-04-10 17:07:27 +02:00
Alexandre Julliard
2a9dfe242b ws2_32: Don't access the IO_STATUS_BLOCK until the I/O operation is finished. 2007-04-05 11:29:30 +02:00
Alexandre Julliard
589ce2bb8d server: Always return STATUS_PENDING when an async I/O operation has been queued. 2007-03-26 19:13:21 +02:00
Andrew Talbot
a85b3c9f71 ws2_32: Replace inline static with static inline. 2007-03-26 12:20:44 +02:00
Damjan Jovanovic
e39dca6af6 ws2_32: WSASendTo should always re-enable the FD_WRITE event. 2007-03-22 11:28:16 +01:00
Alexandre Julliard
2b6d1fa59b ws2_32: Move the signalling of the completion event to the server. 2007-03-21 14:29:35 +01:00
Alexandre Julliard
111610c45e server: Add an async_data_t structure to store parameters for async I/O requests. 2007-03-20 20:21:12 +01:00
Damjan Jovanovic
665e8a5e64 ws2_32: In some cases send should block until the entire buffer is sent. 2007-03-20 12:39:17 +01:00
Francois Gouget
66c37f5184 ws2_32: Fix an int/long mismatch in a trace. 2007-03-08 22:16:57 +01:00
Francois Gouget
7d5883d44b ws2_32: Replace a few -1 literals with SOCKET_ERROR.
Do a small tweak in WS2_send() so it looks more like WS2_recv().
2007-03-08 22:16:53 +01:00
Hans Leidekker
bde4e36208 ws2_32: Handle NULL argument in inet_addr. 2007-02-26 13:37:59 +01:00
Francois Gouget
536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +01:00
Vitaliy Margolen
e437a0c302 ws2_32: Fix trace for WS_setsockopt to look closer to WS_getsockopt. 2007-01-18 11:59:25 +01:00
Kai Blin
6055c667e9 ws2_32: ws_sockaddr_u2ws should zero the sockaddr_in.sin_zero field. 2006-12-20 15:47:31 +01:00
Hans Leidekker
84f0a03556 ws2_32: Implement the SIO_ADDRESS_LIST_QUERY ioctl. 2006-12-19 12:39:02 +01:00
Kai Blin
804bba8d4c ws2_32: Downgrade SO_REUSEADDR fixme to a trace. 2006-12-07 20:58:04 +01:00
Kai Blin
829e6f14aa ws2_32: Rewrite setsockopt to be more readable. 2006-12-05 16:49:41 +01:00
Kai Blin
2a4df56548 ws2_32: Rewrite getsockopt to make it more readable. 2006-12-04 13:43:10 +01:00
Kai Blin
e521ee2cee ws2_32: Implement SO_EXCLUSIVEADDRUSE for setsockopt. 2006-11-30 15:23:16 +01:00
Kai Blin
516a575a86 ws2_32: SO_DONTROUTE is ignored on windows, fix comment and downgrade FIXME to TRACE. 2006-11-30 13:26:45 +01:00
Kai Blin
7e6b7d21b9 ws2_32: Implement SO_GET_MAX_MSG_SIZE for getsockopt. 2006-11-29 12:36:35 +01:00
Kai Blin
4534145889 ws2_32: Add WS_SIO_ADDRESS_LIST_QUERY stub to make native dplay error output more readable. 2006-11-28 12:13:53 +01:00
Alexandre Julliard
167b32cc4b winsock: Add WS_ prefix on WSAIoctl constants. 2006-11-27 18:48:58 +01:00
Andrew Talbot
d9cdd23411 ws2_32: Cast-qual warnings fix. 2006-11-24 12:56:26 +01:00
Francois Gouget
30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Alexandre Julliard
0082973d93 ws2_32: Convert WS_select to use poll() instead of select(). Also fixes an fd leak. 2006-11-06 12:28:53 +01:00
Alexandre Julliard
2765df9f23 ws2_32: Don't store the socket file descriptor in the async structure, retrieve it as needed. 2006-11-03 12:03:14 +01:00
Alexandre Julliard
e958dc2e9d ws2_32: Win64 printf format fixes. 2006-10-12 14:53:44 +02:00
Alexandre Julliard
9e5fadab6d winsock: Add a WS_ prefix to the BSD types. 2006-10-12 13:45:39 +02:00
Nicolas Delcros
eda8b9550b winsock: Add mapping for SO_ACCEPTCONN. 2006-10-12 11:32:53 +02:00
Alexandre Julliard
85230942e8 ws2_32: Avoid retrieving the fd twice in WSAIoctl. 2006-10-03 11:46:11 +02:00
Marcus Meissner
971d5f3f89 ws2_32: Implemented FIONBIO and FIONREAD in WSAIoctl. 2006-10-03 11:45:30 +02:00
Dmitry Timoshkov
0d5bcdaeda ws2_32: Add a comment to ioctlsocket about 'bogus' ioctl 0x667e. 2006-10-02 12:33:55 +02:00
Dmitry Timoshkov
888c930f2d ws2_32: Use a symbolic name instead of hand-made value. 2006-10-02 12:32:46 +02:00
Francois Gouget
06f9532dda Assorted spelling fixes. 2006-09-08 11:04:53 +02:00
Robert Shearman
264503d40d include: Add NI_* defines and add a WS(socklen_t) type. 2006-07-13 16:25:38 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
af781f398a winsock: Renamed the winsock directory to ws2_32. 2006-03-15 09:57:30 +01:00