Changeset 5624 in orxonox.OLD for branches/network/src/lib/network/network_socket.h
- Timestamp:
- Nov 17, 2005, 9:06:47 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.h
r5614 r5624 7 7 #ifndef _NETWORK_SOCKET 8 8 #define _NETWORK_SOCKET 9 10 #define _INCOMING_BUFFER_SIZE 10240 11 #define _LOCAL_BUFFER_SIZE 1024 12 13 /* contains memmove and memcpy */ 14 #include <string.h> 15 16 #include <SDL_thread.h> 9 17 10 18 /* include this file, it contains some default definitions */ … … 22 30 23 31 private: 24 IPaddress serverAddress;25 unsigned int port;32 // IPaddress serverAddress; 33 // unsigned int port; 26 34 TCPsocket tcpSocket; 27 UDPsocket udpSocket; 35 // UDPsocket udpSocket; 36 37 byte buf[_INCOMING_BUFFER_SIZE]; 38 int bufferlength; 39 40 SDL_mutex * mutex; 41 bool terminateThread; 42 43 static int thread_listen(void * data); 44 static int thread_read(void * data); 28 45 29 46 public:
Note: See TracChangeset
for help on using the changeset viewer.