jew goo
This commit is contained in:
parent
0425488769
commit
9de61fb44f
1 changed files with 4 additions and 2 deletions
|
@ -25,15 +25,17 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
std::cout << "Listening ..." << std::endl;
|
||||
|
||||
server.Accept(&client);
|
||||
bool check = server.Accept(&client);
|
||||
std::cout << "Shaking ..." << std::endl;
|
||||
|
||||
bool loop = true;
|
||||
while(loop) {
|
||||
if(!client.Handshaked())
|
||||
client.Handshake();
|
||||
else
|
||||
else {
|
||||
std::cout << "Shook." << std::endl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
server.Close();
|
||||
|
|
Loading…
Reference in a new issue