Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ebb7628498 |
@@ -12,9 +12,6 @@
|
||||
// To Build: From the top menu choose "View", "Command Palette", Then choose CMake: Build OR /usr/bin/cmake --build /home/pi/CPP/sstp/build --config Debug --target all --
|
||||
// Output will be here. /home/pi/CPP/sstp/build
|
||||
|
||||
|
||||
void handleServer(Block<String> &commands); // handler for server mode
|
||||
void handleClient(Block<String> &commands); // handler for client mode
|
||||
bool registerSignalHandler(void); // registers a Control-c handler
|
||||
void signalHandler(int signal); // The Control-C handler
|
||||
|
||||
@@ -28,7 +25,7 @@ int main(int argc, char **argv)
|
||||
{
|
||||
int returnCode(0);
|
||||
Profiler profiler;
|
||||
String version = "0.1.0.5"; // major version, minor version, patch, build
|
||||
String version = "1.0.0.6"; // major version, minor version, patch, build
|
||||
|
||||
std::cout << "sstp version " << version.str() << std::endl;
|
||||
if(!registerSignalHandler())
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include <common/utility.hpp>
|
||||
#include <common/stringbuffer.hpp>
|
||||
|
||||
|
||||
SocketConnectionReceiver::SocketConnectionReceiver()
|
||||
: mSocket(-1), mIsRunnable(true)
|
||||
{
|
||||
|
||||
@@ -53,7 +53,6 @@ SocketServer::~SocketServer()
|
||||
std::cout << "close" << std::endl;
|
||||
close(); // close the listener socket
|
||||
std::cout << "~SocketServer, done" << std::endl;
|
||||
|
||||
}
|
||||
|
||||
/// @brief Join all threads
|
||||
|
||||
Reference in New Issue
Block a user