Data Sheet
© Copyright 2013 WIZnet Co.,Ltd. All rights reserved. 
33
iEthernet 
W5200
Figure 6 Socket Status Transition 
Sn_PORT  (Socket  n  Source  Port  Register)  [R/W]  [0x4004+0x0n00-0x4005+0x0n00] 
[0x0000] 
This register sets the Source Port number for each Socket when using TCP or UDP mode, and 
the set-up needs to be made before executing the OPEN command. 
Ex) In case of Socket 0 Port = 5000(0x1388), configure as below, 
0x4004  0x4005 
0x13  0x88 
Sn_DHAR (Socket n Destination Hardware Address Register) [R/W] [0x4006+0x0n00-
0x400B+0x0n00] [0xFFFFFFFFFFFF] 
It  sets  or  is  set  as  destination  hardware address  of  Socket  n  . Also,  if  SOCKET 0  is  used  for 
PPPoE mode, S0_DHAR sets as PPPoE server hardware an address that is already known. 
When using SEND_MAC command at the UDP or IPRAW mode, it sets the destination hardware 
address  of Socket  n .  At the  TCP,  UDP  and  IPRAW  mode,  Sn_DHAR  is  set  as destination 










