Ejemplo n.º 1
0
        /// <summary>
        /// The dispose.
        /// </summary>
        public void Dispose()
        {
            if (this.notDisposing)
            {
                this.notDisposing = false;
            }
            else
            {
                return;
            }

            /*UDPSocket.Close();
             * UDPSocket = null;*/
            UDPSocketManager.StopListen(this.UDPSocket, this.Listen);
            UDPSocketManager.DisposeSocket(this.UDPSocket);
        }