Commit graph

35 commits

Author SHA1 Message Date
Rob Shearman
cb4265074f include: Add declaration of sockaddr_storage to ws2def.h.
Move other declarations that belong in ws2def.h from winsock2.h.
2009-04-07 14:53:47 +02:00
Kai Blin
cabb350f2f ws2_32: Add support for FROM_PROTOCOL_INFO to WSASocket(). 2008-05-26 18:00:18 +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
167b32cc4b winsock: Add WS_ prefix on WSAIoctl constants. 2006-11-27 18:48:58 +01:00
Alexandre Julliard
9e5fadab6d winsock: Add a WS_ prefix to the BSD types. 2006-10-12 13:45:39 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
e21a97da85 Fixed some compiler warnings on Darwin. 2005-12-01 12:36:05 +01:00
Alexandre Julliard
cecfc3f43e Use the default structure packing like Windows does. 2005-09-19 15:03:22 +00:00
Hans Leidekker
8be26da723 Stub implementations for WPUCompleteOverlappedRequest,
WSADuplicateSocketW, WSAEnumNameSpaceProviders{A,W}, WSAGetQOSByName,
WSAGetServiceClassInfo{A,W}, WSAGetServiceClassNameByClassId{A,W},
WSALookupServiceEnd, WSALookupServiceNext{A,W},
WSAProviderConfigChange,  WSASetService{A,W}, WSCEnableNSProvider,
WSCGetProviderPath, WSCInstallNameSpace,  WSCWriteProviderOrder.
Implementations for WSANtohl, WSANtohs, WSASocketA->W crosscall.
Avoid NULL dereferences in WSAStringToAddress{A,W} and
WSAAddressToString{A,W}.
2005-01-10 14:34:15 +00:00
Hans Leidekker
bec06ad777 Fill WSAPROTOCOL_INFO structures instead of PROTOCOL_INFO structures.
Implement WSCEnumProtocols().
Add some tests.
2004-11-01 23:18:47 +00:00
Robert Shearman
cf78e15c2b - Fix calculation of required buffer size.
- Add support for detecting the IFF_MULTICAST flag.
- Stub for SIO_ADDRESS_LIST_CHANGE.
2004-10-04 20:37:43 +00:00
Andreas Rosenberg
5e114a8639 Implementation of WSAStringToAddress(A/W), WSAHtonl, WSAHtons. 2004-09-13 23:18:19 +00:00
Rein Klazes
36f8f1b791 Stub implementation for WSALookupServiceBeginA/W. 2004-04-05 22:23:05 +00:00
Hans Leidekker
f7ed056a43 Added protocol type constants. 2004-03-02 20:53:31 +00:00
Kirill Smelkov
32f296b6d5 Added stub and prototype for WSAJoinLeaf. 2003-12-11 05:16:48 +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
Dimitrie O. Paun
d93f0814aa Add prototype for __WSAFDIsSet. Fix syntax error. 2003-05-13 00:37:36 +00:00
Mike McCormack
947a74f40d Add stubs and declarations for WSAInstallServiceClassA/W. 2002-11-13 19:42:23 +00:00
Patrik Stridvall
1a4db3e72a Cleaned up the code so it would be easier to parse with the new C
parser.
2002-09-23 20:45:57 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Patrik Stridvall
f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Daniel Walker
40491ecc62 Implemented WSAAccept(). 2002-01-14 18:33:44 +00:00
Alexandre Julliard
28e8029107 Fixed typos. 2002-01-12 21:17:51 +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
Andreas Mohr
ab968455cd Added WSC*InstallProvider stubs. 2001-10-02 17:46:59 +00:00
Peter Hunnisett
7736876afd Implemented a stub for WSARecvFrom. 2001-07-10 19:09:59 +00:00
Peter Hunnisett
de962afa56 Added stub for WSASend. 2001-04-10 21:22:34 +00:00
Francois Gouget
40774c3c91 Change the callback declarations to a safer format. 2001-02-12 01:29:08 +00:00
Alexandre Julliard
719c3a84cc Use ioctlsocket() instead of ioctl() so that we can import ws2_32.dll
again (untested).
2000-12-02 23:46:10 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Peter Hunnisett
565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +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
James Hatheway
829405af93 Created an initial Winsock 2 (ws2_32) DLL. Makes use of the Winsock 1
functions already implemented.
2000-06-18 17:23:17 +00:00
Ove Kaaven
a39ad1af4b Added some basic Winsock2 definitions. 1999-09-27 11:48:11 +00:00