Commit Graph

43 Commits

Author SHA1 Message Date
Phil Lodwick 53b93af3b9 winsock/tests: select wakeup on closesocket.
- Change select timeout from 2 seconds to 500 microseconds.
- Add test to make sure select wakes up after a closesocket.
- Add test to make sure listen fails without bind.
2006-02-14 10:38:49 +01:00
Phil Lodwick 96a46367a9 winsock/tests: select() conformance test improvements.
Add OK tests around more function calls.
Add two more todo_wine tests that fail.
2006-02-06 20:59:08 +01:00
Phil Lodwick 6495e66b3a winsock/tests: Add a todo_wine test for select. 2006-02-02 13:50:41 +01:00
Rein Klazes 220edd52d4 Clear the reference counter in WSACleanup, with regression test. 2005-11-29 17:06:35 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01: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
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
Stefan Huehner 06822b8977 Fix some write-strings warnings. 2005-07-15 09:58:36 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Stefan Huehner 03cc8c4181 Remove some -Wstrict-prototypes warnings. 2005-06-17 10:11:37 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Thomas Kho 2a7fce1ce2 Added tests for sendto, recvfrom, and getservbyname. 2005-03-21 11:21:31 +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
Francois Gouget 737da5864a Tests cannot use wine/debug.h because it does not exist on Windows. 2005-02-14 11:02:23 +00:00
Mike McCormack 4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Hans Leidekker 19def5f7af Implement WSAAddressToString{A,W}.
Add tests for WSAAddressToString{A,W} and WSAStringToAddress{A,W}.
Add TRACEs to WSAStringToAddress{A,W}.
2004-11-04 21:05:48 +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
Rein Klazes fd19a1f9e8 - Fix WS_getsockopt for the options SO_LINGER, SO_RCVTIMEO and
SO_SNDTIMEO by adding data conversion from Unix to windows.
- Added a test for this.
2004-10-06 18:52:51 +00:00
Hans Leidekker dbb3e14748 Fix signed/unsigned comparison warnings. 2004-08-09 18:52:18 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Francois Gouget f229c911b5 Add trailing '\n's to ok() calls. 2004-01-23 02:10:33 +00:00
Alexandre Julliard 774304da90 Authors: Jeremy White <jwhite@codeweavers.com>, Francois Gouget <fgouget@codeweavers.com>
Test the behavior of bind() wrt. SO_REUSEADDR.
2004-01-13 05:12:46 +00:00
Daniel Marmier ee1eb63b31 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 03:30:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +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
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Martin Wilck b5fc589f44 Set the socket to overlapped mode. 2002-12-05 19:02:20 +00:00
Martin Wilck 2a5f290ce1 Fixed test to run fine (0 errors) on Win NT. 2002-12-03 21:36:58 +00:00
Francois Gouget 71f8fc27e5 IDI_APPLICATIONW does not exist on Windows. Use IDI_APPLICATION
instead and cast to LPWSTR.
Fixed type cast warnings.
2002-09-17 00:05:34 +00:00
Alexandre Julliard edeee89c3e Create separate makefiles for tests for more flexibility. 2002-08-09 01:22:40 +00:00
Alexandre Julliard 75de8fe16c Added printf format checking to the ok() and trace() macros, and fixed
the resulting warnings.
2002-06-22 00:08:10 +00:00
Francois Gouget 4c314000b9 Make the tests compile with Visual C++. 2002-05-23 02:40:07 +00:00
Francois Gouget ac70c40fb6 Add mswsock.h, move relevant definitions to this header. 2002-05-22 01:51:41 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Martin Wilck b28f933b60 Added unit test for winsock. 2002-04-27 01:27:34 +00:00