Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2005, 9:07:46 PM (20 years ago)
Author:
rennerc
Message:

fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/lib/network/network_socket.h

    r6018 r6025  
    6363  bool terminateThread;
    6464
     65  static SDL_mutex* threadTerminationMutex;
    6566  static int thread_read(void * data);
     67  bool thread_read_running;
    6668#ifdef _USE_OUTGOING_BUFFER
    6769  static int thread_write(void * data);
     70  bool thread_write_running;
    6871#endif
    6972
     
    7477  void init();
    7578
     79  //dont make this public use destroy() instead
     80  ~NetworkSocket();
     81
    7682public:
    7783
     
    7985  NetworkSocket(IPaddress ip);
    8086  NetworkSocket(TCPsocket sock);
    81   ~NetworkSocket();
     87  void destroy() { terminateThread = true; };
     88
    8289
    8390  void connectToServer(IPaddress ip);
Note: See TracChangeset for help on using the changeset viewer.