For the WINC1500, SOCKET_BUFFER_MAX_LENGTH defines the Maximum Transmission Unit (MTU) to be 1400 bytes.
Assuming I've got an open socket in the WINC and I need to send more than one MTU, which is the right approach:
1. Issue multiple send() commands (with slices of 1400 bytes or less) without waiting for SOCKET_MSG_SEND callbacks.
2. Send one slice, wait for the SOCKET_MSG_SEND callback before sending the next slice.
3. Something else.
?
Thanks in advance.