Commit Graph

100 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 888c930f2d ws2_32: Use a symbolic name instead of hand-made value. 2006-10-02 12:32:46 +02:00
Alexandre Julliard 6910043d6e winsock: Make sure to include sys/types.h in all cases. 2006-10-02 11:57:54 +02:00
Detlef Riekenberg ca788bbc26 include: Open Watcom compatibility (Fix _BSDTYPES_DEFINED typo). 2006-09-22 13:22:50 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 07dd5a7e86 Attempt at a better fix for the winsock.h problems on Darwin. 2005-06-30 21:13:00 +00:00
Alexandre Julliard ffeda154a1 Fixed WS_FD_CLR and WS_FD_SET macros (spotted by Thomas Kho). 2005-03-08 16:25:59 +00:00
Steven Edwards c91ae456b8 Use Windows sockets when building Wininet on Mingw. 2004-09-03 18:57:19 +00:00
Dimitrie O. Paun 0377462460 Split the MSVCRT implementation headers from the public headers.
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Francois Gouget ff915d457b Make sure ip_mreq is not exported by winsock2.h.
Add ip_mreq, ip_mreq_source and ip_msfilter to ws2tcpip.h.
2004-03-31 19:58:46 +00:00
Felix Nawothnig 18a0045ac5 Define ip_mreq. 2004-03-25 23:36:26 +00:00
Patrik Stridvall 774c88a24d More stubs and better headers for mswsock.dll. 2004-02-28 01:49:37 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Jon Griffiths cf2f57f9d2 MSVC fixes. 2003-07-19 03:07:16 +00:00
Yorick Hardy 1b3755e308 Include time.h instead of sys/time.h. 2003-06-13 18:07:25 +00:00
Yorick Hardy 78b38a114c Include sys/time.h for struct timeval definition. 2003-06-04 20:15:39 +00:00
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