Commit Graph

284 Commits

Author SHA1 Message Date
Marcus Meissner 851328cd85 winsock: Rewrote mappers to use sizeof() based loops.
Added IPPROTO_IP and AF_UNSPEC to the mappers.
2005-12-05 11:59:43 +01:00
Rein Klazes 220edd52d4 Clear the reference counter in WSACleanup, with regression test. 2005-11-29 17:06:35 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 482df927ca Add LPADDRINFO, missing IP_* defines and missing APIs.
Enclose the API definitions in an extern "C" section.
Define function pointer types if INCL_WINSOCK_API_TYPEDEFS is defined.
Better stick to the types defined by the PSDK.
Update win32.api.
2005-11-23 19:43:50 +01:00
Marcus Meissner 200f005d66 EAI_NONAME -> WS_EAI_NODATA, check for EAI_NONAME and EAI_NODATA. 2005-11-22 12:00:43 +00:00
Marcus Meissner 7f5c0de965 Fixed typo in ws_sockaddr_u2ws(). 2005-11-21 11:56:42 +00:00
Marcus Meissner 7a6fdea105 Implemented getaddrinfo(), including full mapping of struct addrinfo
between UNIX and Windows. Based on a patch by Mike Hearn.
2005-11-17 12:58:35 +00:00
Marcus Meissner aa730cc9e4 Added mapping between unix and windows sockaddr_in6(_old) and
sockaddr_in. Added address family, socket type mappers.
2005-11-16 11:21:57 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Saulius Krasuckas 75506229c9 Added last error code for XP SP1. 2005-11-08 10:56:27 +00:00
Saulius Krasuckas f9c82654be - Stricten cases for NT in a two tests.
- WSAAddressToString[AW] don't fail on Win9x for those.
- Modify it to pass new tests.
2005-11-05 10:43:27 +00:00
Saulius Krasuckas 551e243c5b Make 4 WSAStringToAddress* tests don't fail on Win9x. 2005-11-04 11:14:12 +00:00
Eric Pouech 904b6ea8e3 Made accept thread safe(r). 2005-10-24 21:41:34 +00:00
Dmitry Timoshkov d48f50b4eb Move user32 to delay loaded imports. 2005-10-03 10:15:43 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Hans Leidekker 4f36cae4dd Avoid using the obsolete inet_addr. 2005-08-27 09:20:24 +00:00
Mike McCormack 93ab695a5c Fix gcc 4.0 warnings. 2005-08-26 08:53:31 +00:00
Mike McCormack 80fdebbb49 gcc 4.0 warning fixes. 2005-08-25 10:22:12 +00:00
Alexandre Julliard 734821444e Merged some of the header checks to reduce the size of the generated
configure script a bit.
2005-08-03 19:21:04 +00:00
Andreas Mohr ecd3abd48a Sync ws2_32.spec with XP. 2005-08-01 10:56:49 +00:00
Stefan Huehner 06822b8977 Fix some write-strings warnings. 2005-07-15 09:58:36 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Hans Leidekker 26138619b3 Fix some -Wmissing-declarations warnings.
"errno" is not a good choice for a parameter name.
2005-06-25 18:34:32 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Troy Rollo 698a0cb44b Change WS_bind to accept an sa_family of 0 as "don't care". 2005-06-20 10:30:50 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Alexandre Julliard 7e4af0f60b Store the winsock per-thread data in NtCurrentTeb()->WinSockData
instead of using TlsAlloc.
2005-05-14 11:09:21 +00:00
Eric Pouech 0198255ba9 Some fixes on async shutdown. 2005-05-09 19:31:19 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Robert Lunnon cd40a31073 Added a conditionally compiled definition of INADDR_NONE for platforms
that don't define it.
2005-05-07 12:18:10 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Marcus Meissner 8480f39f11 Initialize iosb. 2005-05-05 09:49:43 +00:00
Marcus Meissner c4d25aec20 Fixed stack overwrite by using sizeof(WS_sockaddr_ipx). 2005-04-28 18:27:27 +00:00
Rein Klazes b59484de49 Fix a copy&paste bug in get_buffer_pe. 2005-03-31 15:28:54 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Thomas Kho 2a7fce1ce2 Added tests for sendto, recvfrom, and getservbyname. 2005-03-21 11:21:31 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Jakob Eriksson 7670aa128b More trace info. 2005-03-17 13:58:06 +00:00
Thomas Kho e95de008e3 Added select_server() test that uses select() in serving clients. 2005-03-11 12:53:12 +00:00
Steven Edwards 5727918424 Added a check for poll.h. 2005-03-04 12:38:36 +00:00