Пример #1
0
 private void Server_ClientConnected(object sender, AsyncEventArgsServer e)
 {
     Console.WriteLine("Server_ClientConnected");
 }
Пример #2
0
 private void Server_OtherException(object sender, AsyncEventArgsServer e)
 {
     Console.WriteLine("Server_OtherException");
 }
Пример #3
0
        private void Server_DataReceived(object sender, AsyncEventArgsServer e)
        {
            DataModel item = new DataModel(e.client, e.buffer);

            threadIn.Enqueue(item);
        }
Пример #4
0
 private void Server_WriteError(object sender, AsyncEventArgsServer e)
 {
     Console.WriteLine("Server_WriteError");
 }