Data Sheet
© Copyright 2013 WIZnet Co.,Ltd. All rights reserved. 
54
iEthernet 
W5200
5.2.1.2  TCP CLIENT 
It is same as TCP server except ‘CONNECT’ state. User can refer to the “5.2.1.1 TCP 
SERVER”. 
Figure 11 TCP CLIENT Operation Flow 
CONNECT 
Transmit  the connect-request  (SYN  packet)  to  “TCP SERVER”.  It may  occurs the 
timeout such as ARP
TO
, TCP
TO
 when make the “connection SOCKET” with “TCP SERVER” 
{ 
Sn_DIPR0 = server_ip;    /* set TCP SERVER IP address*/ 
    Sn_DPORT0 = server_port;  /* set TCP SERVER listen port number*/ 
Sn_CR = CONNECT;    /* set CONNECT command */ 
} 










