public void OnReceived(IConnection connection, Object obj)
{
//throw new NotImplementedException();
UserInfo info = (UserInfo)obj;
//Console.WriteLine("receive from " + connection.RemoteEndPoint.ToString()+":"+info.username);
Interlocked.Increment(ref this.count);
if (count % 1000 == 0)
{
Console.WriteLine("receive:" + count);
}
}