Some work - trying to catch up to where I was.

This commit is contained in:
Brad Arant committed 2025-02-19 16:18:50 -08:00
1 parent 96e73d6341
commit e0c0e2c07e
6 files changed
+45 -47

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@ namespace core {
close(getDescriptor());
}
void TCPServer::onDataReceived(std::string data) {
void TCPServer::connectionRequest() {
coreutils::Log(coreutils::LOG_DEBUG_2) << "Connection request is being received on socket " << getDescriptor() << ".";
lock.lock();
TCPSession *session = accept();
if (session)