Sending and Receiving Data
Once a network connection has been established, the socket is ready to send and receive the data. This is done through two buffers — the TX buffer and the RX buffer. Read on and you will know how to allocate memory for buffers, use them, handle overruns, and perform other tasks related to sending and receiving of data.
In this section:
- Allocating Memory for Buffers
- Using Buffers in TCP Mode
- Using Buffers in UDP Mode
- TX and RX Buffer Memory Status
- Receiving Data in TCP Mode
- Receiving Data in UDP Mode
- Sending TCP and UDP Data
- "Split Packet" Mode of TCP Data Processing
- Handling Buffer Overruns
- Redirecting Buffers
- Sinking Data