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;
|
std::cout << "Listening ..." << std::endl;
|
||||||
|
|
||||||
server.Accept(&client);
|
bool check = server.Accept(&client);
|
||||||
std::cout << "Shaking ..." << std::endl;
|
std::cout << "Shaking ..." << std::endl;
|
||||||
|
|
||||||
bool loop = true;
|
bool loop = true;
|
||||||
while(loop) {
|
while(loop) {
|
||||||
if(!client.Handshaked())
|
if(!client.Handshaked())
|
||||||
client.Handshake();
|
client.Handshake();
|
||||||
else
|
else {
|
||||||
|
std::cout << "Shook." << std::endl;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server.Close();
|
server.Close();
|
||||||
|
|
Loading…
Reference in a new issue