Esempio n. 1
0
 public Listener(IPAddress localIpAddress, int localListeningPort, GotConnectionDelegate gotConnectionDelegate)
 {
     _localIpAddress        = localIpAddress;
     _localListeningPort    = localListeningPort;
     _gotConnectionDelegate = gotConnectionDelegate;
     _acceptCallback        = EndAccept;
 }
Esempio n. 2
0
		private void Init(IPAddress Addr, int Port, GotConnectionDelegate GotConnection)
		{
			mAddress = Addr;
			mPort = Port;
			mGotConnection = GotConnection;
			cbAccept = new AsyncCallback(EndAccept);
		}
Esempio n. 3
0
 public Listener(IPAddress address, int port, GotConnectionDelegate connectionHandler)
 {
     _address           = address;
     _port              = port;
     _connectionHandler = connectionHandler;
     _acceptCallback    = new AsyncCallback(EndAccept);
 }
Esempio n. 4
0
 private void Init(IPAddress Addr, int Port, GotConnectionDelegate GotConnection)
 {
     mAddress       = Addr;
     mPort          = Port;
     mGotConnection = GotConnection;
     cbAccept       = new AsyncCallback(EndAccept);
 }
Esempio n. 5
0
 public Listener(int localListeningPort, GotConnectionDelegate gotConnectionDelegate) : this(IPAddress.Any, localListeningPort, gotConnectionDelegate)
 {
 }
Esempio n. 6
0
 public Listener(GotConnectionDelegate gotConnectionDelegate) : this(0, gotConnectionDelegate)
 {
 }
Esempio n. 7
0
 public Listener(GotConnectionDelegate connectionHandler)
     : this(IPAddress.Any, 0, connectionHandler)
 {
 }
Esempio n. 8
0
 public Listener(int port, GotConnectionDelegate connectionHandler)
     : this(IPAddress.Any, port, connectionHandler)
 {
 }
Esempio n. 9
0
		public Listener(GotConnectionDelegate GotConnection)
		{
			Init(IPAddress.Any, 0, GotConnection);
		}
Esempio n. 10
0
		public Listener(int Port, GotConnectionDelegate GotConnection)
		{
			Init(IPAddress.Any, Port, GotConnection);
		}
Esempio n. 11
0
		public Listener(IPAddress Addr, int Port, GotConnectionDelegate GotConnection)
		{
			Init(Addr, Port, GotConnection);
		}
Esempio n. 12
0
 public Listener(GotConnectionDelegate GotConnection)
 {
     Init(IPAddress.Any, 0, GotConnection);
 }
Esempio n. 13
0
 public Listener(int Port, GotConnectionDelegate GotConnection)
 {
     Init(IPAddress.Any, Port, GotConnection);
 }
Esempio n. 14
0
 public Listener(IPAddress Addr, int Port, GotConnectionDelegate GotConnection)
 {
     Init(Addr, Port, GotConnection);
 }