Aegis.Network.UDPServer.Close C# (CSharp) 메소드

Close() 공개 메소드

public Close ( ) : void
리턴 void
        public void Close()
        {
            lock (this)
            {
                if (_socket == null)
                    return;

                _socket?.Close();
                _socket?.Dispose();
                _socket = null;
            }
        }