Send client string after server is connected
This commit is contained in:
parent
a5e9a3de05
commit
dbe29991f0
1 changed files with 4 additions and 4 deletions
|
|
@ -75,16 +75,16 @@ void NetworkClient::StartClient()
|
|||
//Start the listener thread
|
||||
ListenThread = new std::thread(&NetworkClient::ListenThreadFunction, this);
|
||||
|
||||
//Send Client String
|
||||
SendData_ClientString();
|
||||
|
||||
//Wait for server to connect
|
||||
while(!server_connected)
|
||||
{
|
||||
Sleep(100);
|
||||
}
|
||||
|
||||
//Once server is connected, request number of controllers
|
||||
//Once server is connected, send client string
|
||||
SendData_ClientString();
|
||||
|
||||
//Request number of controllers
|
||||
SendRequest_ControllerCount();
|
||||
|
||||
//Wait for server controller count
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue