OpenMetaverse.Voice.TCPPipe.SendLine C# (CSharp) Méthode

SendLine() public méthode

public SendLine ( string message ) : void
message string
Résultat void
        public void SendLine(string message)
        {
            if (Connected)
            {
                byte[] byData = System.Text.Encoding.ASCII.GetBytes(message + "\n");
                _TCPSocket.Send(byData);
            }
            else
            {
                throw new InvalidOperationException("socket is not connected");
            }
        }