2 Commits

Author SHA1 Message Date
ebb7628498 Code cleanup 2025-11-20 11:30:41 -05:00
9abd4b195b Add build info to main.cpp 2025-11-03 16:45:34 -05:00
3 changed files with 5 additions and 5 deletions

View File

@@ -8,8 +8,10 @@
#include <sstp/clientsocketsender.hpp>
#include <sstp/sstp.hpp>
void handleServer(Block<String> &commands); // handler for server mode
void handleClient(Block<String> &commands); // handler for client mode
// To Clean: From the top menu choose "View", "Command Palette", Then choose CMake: Clean OR /usr/bin/cmake --build /home/pi/CPP/sstp/build --config Debug --target clean --
// 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
bool registerSignalHandler(void); // registers a Control-c handler
void signalHandler(int signal); // The Control-C handler
@@ -23,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())

View File

@@ -2,7 +2,6 @@
#include <common/utility.hpp>
#include <common/stringbuffer.hpp>
SocketConnectionReceiver::SocketConnectionReceiver()
: mSocket(-1), mIsRunnable(true)
{

View File

@@ -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