OpenMetaverse.Voice.TCPPipe.SendLine C# (CSharp) Method

SendLine() public method

public SendLine ( string message ) : void
message string
return 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");
            }
        }