Changeset 6025 in orxonox.OLD for branches/network/src/lib/network/network_socket.h
- Timestamp:
- Dec 10, 2005, 9:07:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/network_socket.h
r6018 r6025 63 63 bool terminateThread; 64 64 65 static SDL_mutex* threadTerminationMutex; 65 66 static int thread_read(void * data); 67 bool thread_read_running; 66 68 #ifdef _USE_OUTGOING_BUFFER 67 69 static int thread_write(void * data); 70 bool thread_write_running; 68 71 #endif 69 72 … … 74 77 void init(); 75 78 79 //dont make this public use destroy() instead 80 ~NetworkSocket(); 81 76 82 public: 77 83 … … 79 85 NetworkSocket(IPaddress ip); 80 86 NetworkSocket(TCPsocket sock); 81 ~NetworkSocket(); 87 void destroy() { terminateThread = true; }; 88 82 89 83 90 void connectToServer(IPaddress ip);
Note: See TracChangeset
for help on using the changeset viewer.