Data Sheet
© Copyright 2013 WIZnet Co.,Ltd. All rights reserved.
46
iEthernet
W5200
5.2 Data Communications
After the initialization process, W5200 can transmit and receive the data with others
by ‘open’ the SOCKET of TCP, UDP, IPRAW, and MACRAW mode. The W5200 supports the
independently and simultaneously usable 8 SOCKETS. In this section, the
communication method for each mode will be introduced.
5.2.1 TCP
The TCP is a connection-oriented protocol. The TCP make the connection SOCKET by
using its own IP address, port number and destination IP address, port number. Then
transmits and receives the data by using this SOCKET.
Methods of making the connection to SOCKET are “TCP SERVER” and “TCP CLIENT”. It
is divided by transmitting the connect-request (SYN packet).
The “TCP SERVER” listens to the connect-request from the “TCP CLIENT”, and makes
connection SOCKET by accepting the transmitted connect-request (Passive-open).
The “TCP CLIENT” transmits the connect-request first to “TCP SERVER” to make the
connection (Active-open).
Figure 9 TCP SERVER and TCP CLIENT