public Tcp(ushort localPort, ushort remotePort, Address localIp, Address remoteIp) { LocalPort = localPort; RemotePort = remotePort; LocalAddress = localIp; RemoteAddress = remoteIp; TCB = new TransmissionControlBlock(); }
public Tcp(ushort localPort, ushort remotePort, Address localIp, Address remoteIp) { LocalEndPoint = new EndPoint(localIp, localPort); RemoteEndPoint = new EndPoint(remoteIp, remotePort); TCB = new TransmissionControlBlock(); }