devTool.Connection.Send C# (CSharp) Method

Send() public method

public Send ( byte buffer ) : int
buffer byte
return int
        public int Send(byte[] buffer)
        {
            if (buffer == null) throw new ArgumentNullException("buffer");
            return Send(buffer, 0, buffer.Length, SocketFlags.None);
        }

Same methods

Connection::Send ( byte buffer, int start, int count, SocketFlags flags ) : int

Usage Example

Esempio n. 1
0
 public void SendPacket(Byte[] packet)
 {
     lock (this._bufferLock)
         connection.Send(packet);
 }