Network.Client.StartTcp C# (CSharp) Method

StartTcp() public method

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

Same methods

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