// Use this for initialization public TCPServer(string ip, int port, ITCPEndListener listener) : base(ip, port, listener) { // Start TcpServer background thread tcpListenerThread = new Thread(new ThreadStart(ListenForIncommingRequests)); tcpListenerThread.IsBackground = true; tcpListenerThread.Start(); }
public TCPEnd(string ip, int port, ITCPEndListener listener) { this.ip = ip; this.port = port; this.listener = listener; }
public TCPClient(string ip, int port, ITCPEndListener listener) : base(ip, port, listener) { }