public TcpServerSender(string serverIp, int serverPort, int sendBufferSize) { this.serverIp = serverIp; this.serverPort = serverPort; this.sendBufferSize = sendBufferSize; IPAddress serverAddr = IPAddress.Parse(serverIp); this.tcpListener = new TcpListener(serverAddr, serverPort); tcpSenderList = new TcpSenderList(); this.Start(); Open(); }