jew goo
This commit is contained in:
parent
0425488769
commit
9de61fb44f
1 changed files with 4 additions and 2 deletions
|
@ -25,16 +25,18 @@ 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();
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue