On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTIP-32 Programming Manual
Introduction
TCP/IP Networking
IP Packet Types
Sockets, IP, and Port Addresses
Blocking and Non-Blocking Sockets
MTU, MSS, and DCU
Fragmentation
UDP
TCP
Opening a TCP Connection
Closing a TCP Connection
TCP States
TCP Data Transfer
TCP Windows
TCP No Copy
Round Trip Time (RTT)
TCP Retransmission
TCP Keep Alive Packets
TCP Zero Window Probes
TCP Delayed Ack
TCP Silly Window Syndrome
TCP Nagle Algorithm
TCP Slow Start
TCP Congestion Avoidance
ICMP Source Quench
IGMP
Routing Table
ARP
NAT
Programming with RTIP-32
Demo Programs
PPP
DHCP Client
DHCP Server
FTP Client
FTP Server
TFTP Client
TFTP Server
Telnet Client
Telnet Server
Web Server
SNMP Agent
POP3 Client
SMTP Client
SNTP Client
SMB Server
SMB Client
SMB3 Server
SMB3 Client
WLAN Driver
RTIP-32 Reference Manual
RTPEG-32
RTUSB-32
|
TCP No Copy
Each TCP window operates in two modes; no copy and copy, as set by the socket option SO_TCP_NO_COPY using function setsockopt. In no copy mode, the DCUs are added to the window without doing any copies, i.e. if two input packets arrive with packet sizes 100 and 110, two DCUs will be added to the input window. In copy mode, the data will be copied to fill up the DCU at the end of the list, i.e. in the above example the data from the second packet will be copied to the end of the first DCU; therefore, the input window will contain one DCU with data size 210. The data area in the DCUs is fixed (see CFG_MAX_PACKETSIZE). Data is always copied to/from the appropriate window to the buffer supplied by the application.
TCP
TCP Windows
Round Trip Time (RTT)
|