Alexandre Julliard
25441f40f8
include: Allow using windows.h in Wine code.
2012-01-20 15:58:57 +01:00
Francois Gouget
d20c21ddd5
include: Eliminate redundancy between winsock.h and inaddr.h.
2011-12-09 21:15:33 +01:00
Alexandre Julliard
af2fee302c
include: Declare gethostname for Windows builds.
2011-05-20 17:24:13 +02:00
Alexandre Julliard
c611af370b
include: Try harder to redefine u_long, and avoid using it in headers as far as possible.
2010-04-03 18:09:18 +02:00
Francois Gouget
0c0c87a99e
include: Also define the WSAxxx error codes in winerror.h.
...
This matches the PSK.
2010-03-19 12:27:24 +01:00
Juan Lang
93f74ea98c
include: Define IPPROTO_IPV6.
2009-09-02 10:24:02 +02:00
Alexandre Julliard
a6aa7771d3
include: Try to avoid socklen_t redefinition in winsock.h.
2009-03-31 12:19:03 +02:00
Alexandre Julliard
3b22148532
include: Fix a couple of winsock structures for 64-bit.
2009-01-02 12:20:33 +01:00
Alexandre Julliard
baaaa58b50
include: Fix a few compiler warnings for the Mingw64 build.
2008-12-09 17:56:16 +01:00
Francois Gouget
23063501e5
ws2_32: Add MSG_WAITALL and MSG_INTERRUPT.
2008-12-08 12:04:34 +01:00
Francois Gouget
2a4aea0918
ws2_32: Make sure INVALID_SOCKET is correctly typed.
2008-05-26 19:46:14 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Nigel Liang
c31faf4991
include/winsock.h: Fix parenthesis mismatch.
2007-10-11 16:24:28 +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
14fceb2cb6
include: Fix the definition of MSG_MAXIOVLEN.
2007-05-31 12:08:19 +02:00
Andrew Talbot
7c6ef46cb9
include: Replace inline static with static inline.
2007-03-26 12:19:34 +02:00
Kai Blin
e521ee2cee
ws2_32: Implement SO_EXCLUSIVEADDRUSE for setsockopt.
2006-11-30 15:23:16 +01:00
Pierre d'Herbemont
4919a76edf
winsock: Get rid of already disabled WS prefix, thus fix Wine compilation on big-endian.
2006-11-27 18:49:08 +01:00
Dmitry Timoshkov
5f4ce3d72f
include: Remove duplicate definition.
2006-11-09 17:53: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
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