diff options
Diffstat (limited to '')
-rw-r--r-- | Tools/ProtoProxy/Server.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/Tools/ProtoProxy/Server.h b/Tools/ProtoProxy/Server.h index da64036b4..e69dbb5e0 100644 --- a/Tools/ProtoProxy/Server.h +++ b/Tools/ProtoProxy/Server.h @@ -1,38 +1,38 @@ -
-// Server.h
-
-// Interfaces to the cServer class encapsulating the entire "server"
-
-
-
-
-
-#pragma once
-
-
-
-
-
-
-class cServer
-{
- SOCKET m_ListenSocket;
- RSA::PrivateKey m_PrivateKey;
- RSA::PublicKey m_PublicKey;
- short m_ConnectPort;
-
-public:
- cServer(void);
-
- int Init(short a_ListenPort, short a_ConnectPort);
- void Run(void);
-
- RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
- RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; }
-
- short GetConnectPort(void) const { return m_ConnectPort; }
-} ;
-
-
-
-
+ +// Server.h + +// Interfaces to the cServer class encapsulating the entire "server" + + + + + +#pragma once + + + + + + +class cServer +{ + SOCKET m_ListenSocket; + RSA::PrivateKey m_PrivateKey; + RSA::PublicKey m_PublicKey; + short m_ConnectPort; + +public: + cServer(void); + + int Init(short a_ListenPort, short a_ConnectPort); + void Run(void); + + RSA::PrivateKey & GetPrivateKey(void) { return m_PrivateKey; } + RSA::PublicKey & GetPublicKey (void) { return m_PublicKey; } + + short GetConnectPort(void) const { return m_ConnectPort; } +} ; + + + + |