H-a-y-K

Untitled

Mar 15th, 2020
213
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HichessServer::HichessServer(QObject*) IP:  "192.168.56.1"
  2. HichessServer::HichessServer(QObject*) Bound:  true
  3. HichessServer::HichessServer(QObject*) Port:  QHostAddress("192.168.56.1") 45454
  4. HichessServer::HichessServer(QObject*) Listening:  true
  5.  
  6. // Here I am connecting to the server with the first client
  7. void HichessServer::processPendingDatagrams() Datagram data:  "User = Client1"
  8. void HichessServer::processPendingDatagrams() Datagram data is valid, parsing...
  9. void HichessServer::processPendingDatagrams() Parsed username is valid...
  10. void HichessServer::processPendingDatagrams() "Client1" Username is not occupied
  11. void HichessServer::processPendingDatagrams() Url:  "ws://192.168.56.1:54545"
  12. void HichessServer::onNewConnection()
  13. void HichessServer::addClient(QWebSocket*) Client:  QWebSocket(0x888e30)
  14. void HichessServer::addClient(QWebSocket*) There are queued usernames
  15. void HichessServer::addClient(QWebSocket*) Username:  "Client1"
  16. void HichessServer::addClient(QWebSocket*) Players:  "Client1"
  17.  
  18. // Here I am connecting to the server with the second client.
  19. void HichessServer::processPendingDatagrams() Datagram data:  "User = Client2"
  20. void HichessServer::processPendingDatagrams() Datagram data is valid, parsing...
  21. void HichessServer::processPendingDatagrams() Parsed username is valid...
  22. void HichessServer::processPendingDatagrams() "Client2" Username is not occupied
  23. void HichessServer::processPendingDatagrams() Url:  "ws://192.168.56.1:54545"
  24. // Here I get the error
  25. HichessServer::addClient(QWebSocket*)::<lambda(QAbstractSocket::SocketError)> QAbstractSocket::RemoteHostClosedError
  26. HichessServer::addClient(QWebSocket*)::<lambda()> QWebSocket(0x888e30) disconnected
  27. void HichessServer::removeClient(QWebSocket*) Found the client to remove
  28. void HichessServer::removeClient(QWebSocket*) Username:  "Client1" , socket:  QWebSocket(0x888e30)
  29. void HichessServer::removeClient(QWebSocket*) "Client1"  left the game
  30. HichessServer::addClient(QWebSocket*)::<lambda()> destroyed
  31. void HichessServer::onNewConnection()
  32. void HichessServer::addClient(QWebSocket*) Client:  QWebSocket(0x8887d0)
  33. void HichessServer::addClient(QWebSocket*) There are queued usernames
  34. void HichessServer::addClient(QWebSocket*) Username:  "Client2"
  35. void HichessServer::addClient(QWebSocket*) There are more than 1 queued players. Found pair for a game...
  36. void HichessServer::addClient(QWebSocket*) Players:  "Client1"
  37. void HichessServer::addClient(QWebSocket*) Players:  "Client2"
  38. void HichessServer::addClient(QWebSocket*) Games:  "Client1 vs Client2"
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×