summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Networking/TCPClient.hpp
diff options
context:
space:
mode:
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();