Sends a buffer to the server.
public void sendData(byte[] buffer);
Use this method to send a byte array to the server.