예제 #1
0
            public PendingArpRequest()
            {
                this.requestEvent = new AutoResetEvent(false);
                this.active       = false;

                txContainer = new TContainerVectorQueueByte(
                    new VectorQueueByte()
                    );
            }
예제 #2
0
파일: UDP.cs 프로젝트: Paul1nh0/Singularity
        public UDP()
        {
            thisLock             = new MonitorLock();
            this.packetContainer =
                new TContainerVectorQueueByte(
                    new VectorQueueByte()
                    );

            localIPAddress  = IPv4.Any;
            localPort       = 0;
            remoteIPAddress = IPv4.Any;
            remotePort      = 0;
            byteCount       = 0;
            udpWaitEvent    = new AutoResetEvent(false);
        }