Data Sheet
© Copyright 2013 WIZnet Co.,Ltd. All rights reserved. 
31
iEthernet 
W5200
0x22 
SOCK_UDP  It  is  the  status  that  SOCKETn  is  open  as  UDP  mode.  It  is 
changed to SOCK_UDP  when Sn_MR(P3:P0) is  Sn_MR_UDP 
and  OPEN  command  is  performed.  DATA  packet  can  be 
transferred without connection that is necessary to TCP 
mode SOCKET. 
0x32 
SOCK_IPRAW  The socket is opened in IPRAW mode. The SOCKET status is 
change  to  SOCK_IPRAW  when  Sn_MR  (P3:P0)  is 
Sn_MR_IPRAW and OPEN command is used. IP Packet can be 
transferred without a connection similar to the UDP mode. 
0x42 
SOCK_MACRAW  It is changed to SOCK_MACRAW in case of S0_CR=OPEN and 
S0_MR  (P3:P0)=S0_MR_MACRAW.  MACRAW  packet  (Ethernet 
frame) can be transferred similar to UDP mode. 
0x5F 
SOCK_PPPOE  It is  the  status  that  SOCKET0  is  open  as  PPPoE  mode.  It  is 
changed to SOCK_PPPoE in case of S0_CR=OPEN and S0_MR 
(P3:P0)=S0_MR_PPPoE .  It is temporarily  used at the PPPoE 
connection. 
Below is shown during changing the status. 
Value  Symbol  Description 
0x15  SOCK_SYNSENT  This status indicates that a connect-request (SYN packet) is 
sent to a "TCP SERVER". This status shows changing process 
from  SOCK_INIT  to  SOCK_ESTABLISHED  by  CONNECT 
command.  At  this  status,  if  connect-accept  (SYN/ACK 
packet)  is  received  from  "TCP  SERVER",  it  is  automatically 
changed  to  SOCK_  ESTBLISHED.  If  SYN/ACK  packet  is  not 
received  from  the  "TCP  SERVER"  before  TCPTO  occurs 
(Sn_IR(TIMEOUT)=‘1’), it is changed to SOCK_CLOSED. 
0x16  SOCK_SYNRECV  This  status  indicate  that  a  connect-request(SYN  packet)  is 
received from a "TCP CLIENT".    It is automatically changed 
to  SOCK_ESTABLISHED when  W5200 successfully  transmits 
connect-accept (SYN/ACK packet) to the "TCP CLIENT". If it 
is  failed,  TCPTO  occurs  (Sn_IR(TIMEOUT)=‘1’),  and  it  is 
changed to SOCK_CLOSED 
0x18  SOCK_FIN_WAIT  These status shows that Socket n    is closed. It is observed 
in the disconnect-process of active close or passive close. It 
is changed to SOCK_CLOSED, when disconnect-process is 
successfully  finished  or  TCPTO  occurs  (Sn_IR  (TIMEOUT) 
=‘1’). 
0x1A  SOCK_CLOSING 
0X1B  SOCK_TIME_WAIT 










