Network.Client.StartUdp C# (CSharp) Method

StartUdp() public method

public StartUdp ( ) : void
return void
        public void StartUdp()
        {
            if (!Configuration.SupportsUdp)
                throw new NotSupportedException("This client is not meant for UDP");
            if (Host == null)
                throw new NotSupportedException("The host is not initialized.");
            IsTcp = false;
            IsUdp = true;
        }

Same methods

Client::StartUdp ( IPAddress address, ushort port ) : void
Client::StartUdp ( IPEndPoint host ) : void