version 1.14, 2005/02/22 05:56:04
|
version 1.15, 2005/02/22 06:04:46
|
|
|
| |
#define NUM_CLIENTS 1 | #define NUM_CLIENTS 1 |
// amount of data to transfer from each client to server | // amount of data to transfer from each client to server |
#define TRANSFER_SIZE 1000000 |
#define TEST_DATA_SIZE 100000 |
| |
int clientsDone = 0; | int clientsDone = 0; |
int sizeofSOCKADDR_IN = sizeof(SOCKADDR_IN); | int sizeofSOCKADDR_IN = sizeof(SOCKADDR_IN); |
|
char *testData; |
| |
struct TestParams { | struct TestParams { |
int serverSock; | int serverSock; |
|
|
| |
START_TEST(wsock32_main) | START_TEST(wsock32_main) |
{ | { |
|
testData = malloc(TEST_DATA_SIZE); |
trace("test 1 of 2:\n"); | trace("test 1 of 2:\n"); |
test_Startup(); | test_Startup(); |
trace("test 2 of 2:\n"); | trace("test 2 of 2:\n"); |