init commit
[SocketWrapper.git] / main.cpp
1 #include "TCPServer.h"
2 #include<sstream>
3 #include<iostream>
4
5 class MyServer : public TCPServer
6 {
7     void onRecv(const std::stringstream& ss){
8         std::cout << "wowo" << ss.str() << std::endl;
9     }
10 };
11
12 int main()
13 {
14 //TCPServer server("127.0.0.1", 9999);
15     MyServer s ;
16 }