/// <summary> /// Send data to a client. /// </summary> /// <param name="bytes">The byte array to be send.</param> /// <param name="offset">The position in the data buffer at witch to begin sending.</param> /// <param name="length">The number of the bytes to be send.</param> /// <param name="sender">The client to send the data.</param> public virtual void ReplyToSender(byte[] bytes, int offset, int length, TCPClientConnection sender) { sender.SendData(bytes, offset, length); }
/// <summary> /// Send data to a client. /// </summary> /// <param name="data">The string to send.</param> /// <param name="sender">The client to send the data.</param> public virtual void ReplyToSender(string data, TCPClientConnection sender) { sender.SendData(data); }