Working Version
This commit is contained in:
1 parent
46f98dff69
commit
20d5c99517
10 files changed
+82
-84
No files matched your search
+2
-4
@@ -63,10 +63,8 @@ namespace core {
|
||||
return new TCPSession(ePoll, *this);
|
||||
}
|
||||
|
||||
void TCPServer::output(TCPSession *session) {
|
||||
std::stringstream out;
|
||||
out << "|" << session->ipAddress.getClientAddressAndPort();
|
||||
session->send();
|
||||
void TCPServer::output(std::stringstream &out) {
|
||||
out << "Use the 'help' command to list the commands for this server." << std::endl;
|
||||
}
|
||||
|
||||
int TCPServer::processCommand(coreutils::ZString &request, TCPSession &session) {
|
||||
|
||||
Reference in new issue
Block a user