devTool.Connection.Send C# (CSharp) 메소드

Send() 공개 메소드

public Send ( byte buffer ) : int
buffer byte
리턴 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

예제 #1
0
파일: IOClient.cs 프로젝트: vans163/LKEmu
 public void SendPacket(Byte[] packet)
 {
     lock (this._bufferLock)
         connection.Send(packet);
 }