6 F 3 B 0 3 6 2

2.Differences between the UDP socket interface and the TCP socket interface

a.UDP socket interface (See figure 6.2.)

Provides an in/out port (socket) for data communication between a transmission source port and a transmission destination port.

Data for the transmission source and transmission destination (IP addresses and port numbers) is specified in the send/receive data.

Since the transmission source and transmission destination are specified in each data item, a UDP socket can communicate with multiple remote UDP sockets.

The UDP socket interface provides no control functionality such as reception verification using, e.g. ACK (acknowledge) responses, or retransmission processing to assure transmission reliability. Therefore, reliability must be assured by higher level protocols implemented by user programs.

Transmission source port

Transmission destination port

UDP socket

UDP socket

Transmission data

Reception verification (only if implemented by user programs)

Figure 6.2 UDP Sockets

69

Page 70
Image 70
Toshiba T2N instruction manual UDP socket interface See figure, UDP Sockets