This project is read-only.
How To Use?

using TcpServerSocket is very easy. you only need to do like this:

var tcp = new TcpServer
 {
  RecvNewClientAction = handler => Debug.WriteLine("recv new client: " + handler),
  LostClientAction = handler => Debug.WriteLine("lost client :" + handler),
  RecvDataAction = (ip, data, len) => Debug.WriteLine("{0}:{1}", ip, Encoding.ASCII.GetString(data, 0, len))
};
 tcp.StartListen();

Last edited Aug 1, 2014 at 10:37 AM by yubaolee, version 4