Client will now close listener thread when disconnected and attempt to reconnect. Initialization behavior (controller requests, client string update) are performed automatically upon reconnection
This commit is contained in:
parent
5133c30242
commit
e2c2b8c1df
4 changed files with 205 additions and 93 deletions
|
|
@ -71,12 +71,13 @@ public:
|
|||
void tcp_close();
|
||||
|
||||
bool connected;
|
||||
SOCKET sock;
|
||||
|
||||
private:
|
||||
#ifdef WIN32
|
||||
WSADATA wsa;
|
||||
#endif
|
||||
SOCKET sock;
|
||||
|
||||
std::vector<SOCKET *> clients;
|
||||
|
||||
sockaddr addrDest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue