Code cleanup
This commit is contained in:
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
|
||||
{
|
||||
int returnCode(0);
|
||||
Profiler profiler;
|
||||
String version = "1.0.0.8"; // major version, minor version, patch, build
|
||||
String version = "1.0.0.9"; // major version, minor version, patch, build
|
||||
|
||||
std::cout << "sstp version " << version.str() << std::endl;
|
||||
if(!registerSignalHandler())
|
||||
|
||||
@@ -83,8 +83,8 @@ bool SocketServer::isOkay(void)
|
||||
}
|
||||
|
||||
/// @brief This is the listener. It will wait for incoming connections.
|
||||
/// When an incoming connection is received it will create a SocketConnectionReceiver object and call it's threadFunction to handle further interactions
|
||||
/// such as transmitting a file.
|
||||
/// When an incoming connection is received it will create a SocketConnectionReceiver object and call it's threadFunction
|
||||
/// to handle further interactions such as transmitting a file.
|
||||
void SocketServer::listen(void)
|
||||
{
|
||||
while(isOkay())
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <sstp/clientsocketsender.hpp>
|
||||
|
||||
/// @brief [0]=program [1]=SERVERMODE [2]={port}
|
||||
/// @Note Currently this method will never return. The application is terminate with CTRL-C. Ideally, we would exit is some cleaner fashion
|
||||
/// @Note Currently this method will never return. The application is terminated with CTRL-C. Ideally, we would exit in some cleaner fashion
|
||||
/// perhaps by implementing a CTRL-C hook and then destroying the SocketServer properly by calling it's destructor. See SocketServer::~SocketServer()
|
||||
/// @param commands
|
||||
void SSTP::handleServer(Block<String>& commands)
|
||||
|
||||
@@ -10,7 +10,7 @@ class SSTP
|
||||
{
|
||||
public:
|
||||
SSTP();
|
||||
~SSTP();
|
||||
virtual ~SSTP();
|
||||
void handleServer(Block<String>& arguments);
|
||||
void handleClient(Block<String>& arguments);
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user