summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Networking/TCPClient.hpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-20 21:38:04 +1300
committerboris <wzn@moneybot.cc>2018-12-20 21:38:04 +1300
commita5acd4c9a3b24c9d5af3a8f504e5af053fa7fa09 (patch)
tree27bc30d3f35e5daaaa15ee6de066119df8d352c7 /csgo-loader/csgo-client/Networking/TCPClient.hpp
parent77b52da44b263df4884be2f35f885d8edccbb6fa (diff)
yo is this loss
Diffstat (limited to 'csgo-loader/csgo-client/Networking/TCPClient.hpp')
-rw-r--r--csgo-loader/csgo-client/Networking/TCPClient.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/csgo-loader/csgo-client/Networking/TCPClient.hpp b/csgo-loader/csgo-client/Networking/TCPClient.hpp
index f057cdc..4e3e089 100644
--- a/csgo-loader/csgo-client/Networking/TCPClient.hpp
+++ b/csgo-loader/csgo-client/Networking/TCPClient.hpp
@@ -10,10 +10,12 @@
// std::min
#include <algorithm>
-namespace Networking {
+namespace Networking
+{
// A TCPClient is essentially the same as the TCPConnection counterpart on the server,
// however, it independently handles connection.
- class TCPClient {
+ class TCPClient
+ {
WSADATA m_WinSocks;
SOCKET m_Socket;
sockaddr_in m_Context;
@@ -25,7 +27,7 @@ namespace Networking {
// Connects to a remote server.
// Also handles the initial handshake between server and client.
bool Start(uint32_t ServerAddress, uint16_t ServerPort);
-
+
// Kills the client.
void Kill();