public Listener(IPAddress localIpAddress, int localListeningPort, GotConnectionDelegate gotConnectionDelegate) { _localIpAddress = localIpAddress; _localListeningPort = localListeningPort; _gotConnectionDelegate = gotConnectionDelegate; _acceptCallback = EndAccept; }
private void Init(IPAddress Addr, int Port, GotConnectionDelegate GotConnection) { mAddress = Addr; mPort = Port; mGotConnection = GotConnection; cbAccept = new AsyncCallback(EndAccept); }
public Listener(IPAddress address, int port, GotConnectionDelegate connectionHandler) { _address = address; _port = port; _connectionHandler = connectionHandler; _acceptCallback = new AsyncCallback(EndAccept); }
private void Init(IPAddress Addr, int Port, GotConnectionDelegate GotConnection) { mAddress = Addr; mPort = Port; mGotConnection = GotConnection; cbAccept = new AsyncCallback(EndAccept); }
public Listener(int localListeningPort, GotConnectionDelegate gotConnectionDelegate) : this(IPAddress.Any, localListeningPort, gotConnectionDelegate) { }
public Listener(GotConnectionDelegate gotConnectionDelegate) : this(0, gotConnectionDelegate) { }
public Listener(GotConnectionDelegate connectionHandler) : this(IPAddress.Any, 0, connectionHandler) { }
public Listener(int port, GotConnectionDelegate connectionHandler) : this(IPAddress.Any, port, connectionHandler) { }
public Listener(GotConnectionDelegate GotConnection) { Init(IPAddress.Any, 0, GotConnection); }
public Listener(int Port, GotConnectionDelegate GotConnection) { Init(IPAddress.Any, Port, GotConnection); }
public Listener(IPAddress Addr, int Port, GotConnectionDelegate GotConnection) { Init(Addr, Port, GotConnection); }
public Listener(GotConnectionDelegate GotConnection) { Init(IPAddress.Any, 0, GotConnection); }
public Listener(int Port, GotConnectionDelegate GotConnection) { Init(IPAddress.Any, Port, GotConnection); }
public Listener(IPAddress Addr, int Port, GotConnectionDelegate GotConnection) { Init(Addr, Port, GotConnection); }