Esempio n. 1
0
 void DoConnect(object sender, ConnectionAcceptedEventArgs e)
 {
     PutLogMessage("Accept Connection. Host: " + e.Connection.PeerIP);
 }
Esempio n. 2
0
 static void ProgramConnectionAccepted(object sender, ConnectionAcceptedEventArgs e)
 {
     Console.WriteLine("Connection Accepted!");
     e.SocketStream.Socket.Dispose();
 }
Esempio n. 3
0
 protected override void OnConnectionAccepted(ConnectionAcceptedEventArgs e)
 {
     base.OnConnectionAccepted(e);
     SendResponse((CommandConnection)e.Connection, String.Empty, "100");
 }
Esempio n. 4
0
 static void ProgramConnectionAccepted(object sender, ConnectionAcceptedEventArgs e)
 {
     Console.WriteLine("Connection Accepted!");
     e.SocketStream.Socket.Dispose();
 }