projects
/
SocketWrapper.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
init commit
[SocketWrapper.git]
/
TCPServer.cpp
1
#include "TCPServer.h"
2
#include <sys/socket.h>
3
#include <iostream>
4
5
TCPServer::TCPServer()
6
{
7
}
8
9
TCPServer::~TCPServer()
10
{
11
}
12
13
void TCPServer::onRecv(const std::stringstream& ss)
14
{
15
std::cout << ss.str() << std::endl;
16
}