public void Send(string address, ISendable data) { _encoder.Clear(); _encoder.Append(address); _encoder.Append("," + data.Format()); _encoder.Append(data.Data()); _socket.Send(_encoder.Buffer, _encoder.Length, SocketFlags.None); }
public void Send(string address, ISendable data) { _encoder.Clear(); _encoder.Append(address); _encoder.Append("," + data.Format()); _encoder.Append(data.Data()); _socket.Send(_encoder.Buffer, _encoder.Length, SocketFlags.None); }