I am currently trying to modify the simple hwclient/hwserver example to send a byte array with predefined size to the server. I have seen that basically the functionality is given in the following form:
public boolean send(byte[] data, int off, int length, int flags)
But there seems to be no documentation about the parameter int off. Can anyone tell be, what this parameter does?
Thanks in advance
It would always be 0 if you want complete
byte[]to be consumed if you want a partial consumption mention the offset of that Array index.