Changeset 7553 in orxonox.OLD for branches/network/src/subprojects
- Timestamp:
- May 6, 2006, 1:23:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/subprojects/network/network_unit_test.cc
r7552 r7553 42 42 NetworkSocket* client1 = new UdpSocket("localhost", 9999); 43 43 44 NetworkSocket* server1 = server.getNewSocket(); 44 client1->writePacket( (byte*)"test", 5 ); 45 NetworkSocket* server1 = NULL; 46 while ( server1 == NULL ) 47 server1 = server.getNewSocket(); 48 49 assert( server1->isOk() ); 45 50 46 51 NetworkSocket* client2 = new UdpSocket("localhost", 9999); 47 52 48 NetworkSocket* server2 = server.getNewSocket(); 53 client2->writePacket( (byte*)"test", 5 ); 54 NetworkSocket* server2 = NULL; 55 while ( server2 == NULL ) 56 server2 = server.getNewSocket(); 49 57 50 58 char buf[1024];
Note: See TracChangeset
for help on using the changeset viewer.