Dimitrie O. Paun
d93f0814aa
Add prototype for __WSAFDIsSet. Fix syntax error.
2003-05-13 00:37:36 +00:00
Alexandre Julliard
9aee7c605d
Yet another attempt at fixing the htonl functions.
2003-04-17 02:47:17 +00:00
Vitaliy Margolen
da7d5ac699
Added more extended error codes.
2003-04-09 23:33:50 +00:00
Mike Hearn
ceb86a90f8
- Map winsock sockopts to the POSIX equivalents for IP multicast.
...
- Remap winsock1 constant values to winsock2 using a forwarder
function.
- Change a FIXME to a TRACE, it appeared to be simply reporting
progress.
2003-04-04 22:04:47 +00:00
Alexandre Julliard
15f0ac352b
Yet another hack to try to make this file compile in all
...
circumstances.
2003-04-04 19:32:18 +00:00
Alexandre Julliard
9ee2413700
Handle htonl() and friends like select(), this will hopefully avoid
...
conflicts with Unix headers.
2003-04-02 01:38:42 +00:00
Alexandre Julliard
70c47b668f
Try to make winsock.h more portable (based on a patch by Francois
...
Gouget).
2003-03-31 23:56:35 +00:00
Dimitrie O. Paun
76883a8cb6
Define the u_{char,short,int,long} in msvcrt/sys/types.h for Unix
...
compatibility (needed by winsock.h as well).
2003-03-17 21:22:34 +00:00
Dimitrie O. Paun
8b36681bad
Rename __WINE__ to __WINESRC__.
2003-01-04 00:52:18 +00:00
Dimitrie O. Paun
ce1a430547
Add definition for WSAEDISCON.
2002-11-21 23:44:19 +00:00
Martin Wilck
2b529f1778
Fixed circular include sequence winsock.h -> windows.h -> winsock2.h
...
-> winsock.h.
2002-11-21 21:48:53 +00:00
Martin Wilck
9fc8b115c2
- Define SOCKET as UINT_PTR for Win64 (thanks to P. Stridvall).
...
- Make winsock compile without WINE_NO_STRICT.
2002-10-30 20:26:32 +00:00
Patrick J. McNerthney
3e2217ca9a
Removed the #undef of WS_DEFINE_SELECT so that select is in fact
...
defined.
Fixed if statement in __WS_FD_SET2 which used a = where a == is
needed, in additition the if did not have its outer set of
parenthesis.
Removed parentheses around type to be cast in __WS_FD_SET macro.
Removed WS macro usage from within other macros because the WS macro
is undefined when these macros are expanded.
Added WINAPI attributee to select definition.
2002-09-24 03:05:59 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Francois Gouget
ac70c40fb6
Add mswsock.h, move relevant definitions to this header.
2002-05-22 01:51:41 +00:00
Martin Wilck
493e9d7d11
Fixed cut&paste bug.
2002-04-22 22:33:12 +00:00
Francois Gouget
9e881be5bb
Fix for the unistd.h vs. winsock.h problem in Winelib applications.
...
Refine the WS_DEFINE_HTONL definition.
2002-04-01 21:01:13 +00:00
Alexandre Julliard
81f2a7307b
Send message for WSAAsyncSelect sockets directly from the server,
...
instead of using the service thread. Finished separation of ws2_32.
2002-03-23 20:43:52 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget
04ecd18493
Avoid conflict with htonl & friends in Winelib on FreeBSD.
2002-01-29 02:55:41 +00:00
Paul Rupe
99ed342df0
Very simple support for SO_OPENTYPE in getsockopt and setsockopt.
2001-12-14 22:48:38 +00:00
Francois Gouget
272023190e
Make winsock.h and winsock2.h independent from the Unix headers.
...
Make them compatible with both the Unix C headers and the MSVCRT
headers.
Ensure compatibility with the Unix headers via the USE_WS_PREFIX
macro.
Add WINE_NOWINSOCK: prevents winsock.h from being included from
windows.h when defined.
Add ws2tcpip.h, move definitions to the right header.
2001-11-14 21:26:23 +00:00
Francois Gouget
76f6ffaf1b
Fix the SOCKADDR_IPX declaration.
...
Centralize all sockaddr_xxx conversions in ws_sockaddr_ws2u and
ws_sockaddr_u2ws.
Remove ugly casts in TRACEs.
2001-10-08 20:36:03 +00:00
Francois Gouget
d97fe2655b
Fix the WSAStartup prototype.
...
Fix handling of timeout parameter in select.
2001-09-14 00:19:52 +00:00
Francois Gouget
126e6b8175
Rename the regular WS_FD_XXX macros to FD_XXX.
...
Rename the Wine specific WS_FD_XXX macros to FD_WINE_XXX.
2001-08-24 19:14:56 +00:00
Bang Jun-Young
88edb86363
Define HAVE_SYS_SOCKET_H on NetBSD and FreeBSD.
2001-05-14 19:20:30 +00:00
Ulrich Weigand
45d4f295d5
Work around problems on Solaris if config.h is not included.
2001-01-11 00:53:07 +00:00
Francois Gouget
a11664cc9b
Added a prototype for closesocket.
2000-12-07 23:13:23 +00:00
Hidenori Takeshima
5d1a6385e1
Added checking for netdb.h.
...
Don't include arpa/inet.h and sys/socket.h if system doesn't have these headers.
2000-11-26 04:00:53 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Francois Gouget
5e4b7de1b6
Completed/corrected the list of include files.
...
Handle WIN32_LEAN_AND_MEAN and the NOxxx macros.
2000-10-13 23:13:01 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Jeremy White
65cab52a5c
Adjusted to allow MFC compilation; prevent definition of struct fd_set
...
which conflicts with the fd_set typedef.
2000-09-16 20:46:16 +00:00
Andreas Mohr
ae50941ae5
Fixed the Win16/Win32 structure size/alignment differences of
...
ws_hostent, ws_protoent, ws_servent, ws_netent.
2000-08-03 22:19:09 +00:00
Bang Jun-Young
544f711c0c
FreeBSD 3.4 compile fix.
2000-05-03 18:08:27 +00:00
Moses DeJong
e0a3ba54c6
Added implementation for WSARecvEx function. This is a Microsoft
...
specific extension to the winsock API.
1999-11-23 22:29:00 +00:00
Ove Kaaven
f45608f639
Winsock rewrite. Sockets are now proper win32 handles.
...
Internal structures are now really internal.
1999-10-23 16:53:34 +00:00
Ove Kaaven
019211f864
Added socket interface to wineserver.
1999-10-13 16:05:37 +00:00
Patrik Stridvall
b8684a266b
Fixed some of the issues reported by winapi-check.
1999-07-31 17:32:05 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Patrik Stridvall
14da7b1c93
Added extern "C" if __cplusplus is defined.
1999-06-12 10:53:06 +00:00
Ulrich Weigand
89fc6fda97
Moved WINSOCK network IO event handling to special thread.
...
Removed EVENT_WaitNetEvent, introduced a global scheduler event.
1999-05-24 08:13:02 +00:00
Marcus Meissner
01f3dc3eba
WSOCK32/WINSOCK uses SetLastError() to keep its own WSALastErrors,
...
replaced all pwsi->err references.
1999-05-12 10:34:03 +00:00
Patrik Stridvall
896889f317
ANSI C fixes.
1999-05-08 12:50:36 +00:00
Patrik Stridvall
c7a8dde118
#pragma pack(?) changed to #include "*pack*.h"
1999-04-25 12:36:53 +00:00
Marcus Meissner
bdb6bec83a
Reimplemented winsock asynchronous DNS services. No longer use a
...
fork()ed process, but either a service thread or inline blocking calls
for non-threading architectures. (Makes Free Agent16 work again.)
1999-04-10 16:58:55 +00:00
Pavel Roskin
e577052d70
Removed definitions for FIONREAD and FIONBIO.
1999-03-19 16:58:20 +00:00
Jim Aston
2e1cafa288
Renamed wintypes.h to windef.h.
1999-03-14 16:35:05 +00:00
Paul Quinn
89b21b4c28
Many new defines, and structs to help compile MFC. As well as a few
...
OLE corrections from earlier.
1999-03-14 13:47:00 +00:00
Marcus Meissner
5eaf775dae
Fix broken _convert_sockopt for IPPROTO_TCP cases, added TCP_NODELAY.
1999-03-09 17:31:42 +00:00