Exemple #1
0
        public Tcp(ushort localPort, ushort remotePort, Address localIp, Address remoteIp)
        {
            LocalPort     = localPort;
            RemotePort    = remotePort;
            LocalAddress  = localIp;
            RemoteAddress = remoteIp;

            TCB = new TransmissionControlBlock();
        }
Exemple #2
0
 public Tcp(ushort localPort, ushort remotePort, Address localIp, Address remoteIp)
 {
     LocalEndPoint  = new EndPoint(localIp, localPort);
     RemoteEndPoint = new EndPoint(remoteIp, remotePort);
     TCB            = new TransmissionControlBlock();
 }