Fragmentation Of Send Data - Omron CJ1W-ETN11 Operation Manual

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Overview
6-1-7

Fragmentation of Send Data

Cautions when Using TCP
1,2,3...
108
Host computer
(server)
Passive open
Connection established
Data receive request
Data send request
Next data receive request
Close
The Ethernet Unit fragments data for TCP transmission into units of 1,024
bytes and data for UDP transmission into units of 1,472 bytes. TCP requires
one reception request to receive each unit of data. UDP, however, restores the
original data before passing it to the user process, allowing all the data in a
single transmission to be received with one reception request.
An example of the fragmentation and transmission of data using the TCP is
shown in the following illustration.
1. The sending user program sends a request to send 1,984 bytes of data.
2. The Ethernet Unit fragments the send data into Data A with 1,024 bytes
and Data B with 960 bytes.
3. Data A and Data B are sent consecutively.
4. The receiving user program sends a request to receive 1,984 bytes of data.
However, only data A is sent in the first packet, and data B is not received.
5. Another receive request to receive data must be made before the remain-
ing data, Data B, is received.
Connection requested
Send data
ACK (acknowledge)
Send data
ACK (acknowledge)
Section 6-1
Ethernet Unit
(client)
Active open
Connection established
Data send request
Send next data
Data receive request
Close

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents