How do you setup send and receive buffers (TCP)?

Handshake first:

  1. create a send buffer
  2. create a receive buffer
  • Application data buffer size

    The max the buffer can contain is usually 1460 bytes.

    This is due to constraints of Ethernet, which can only hold 1500 bytes.