![Wiznet W7500 Reference Manual Download Page 95](http://html.mh-extra.com/html/wiznet/w7500/w7500_reference-manual_990600095.webp)
W7500x Reference Manual Version1.1.0
95 / 399
It is temporarily shown when Sn_SR is changed from
SOCK_INIT to SOCK_ESTABLISHED by CONNECT command.
If connect-accept(SYN/ACK packet) is received from the
peer at SOCK_SYNSENT, it changes to SOCK_ESTABLISHED.
Otherwise, it changes to SOCK_CLOSED after TCPTO
(Sn_IR[TIMEOUT] = ‘1’) is occurred.
0x16
SOCK_SYNRECV
It indicates Socket n successfully received the connect-
request packet (SYN packet) from a peer.
If socket n sends the response (SYN/ACK packet) to the
peer successfully, it changes to SOCK_ESTABLISHED. If not,
it changes to SOCK_CLOSED after timeout occurs
(Sn_IR[TIMEOUT] = ‘1’).
0x18
SOCK_FIN_WAIT
These indicate Socket n is closing.
These are shown in disconnect-process such as active-close
and passive-close.
When Disconnect-process is successfully completed, or
when timeout occurs, these change to SOCK_CLOSED.
0x1A
SOCK_CLOSING
0X1B
SOCK_TIME_WAIT
0X1D
SOCK_LAST_ACK
This indicates Socket n is waiting for the response (FIN/ACK
packet) to the disconnect-request (FIN packet) by passive-
close.
It changes to SOCK_CLOSED when Socket n received the
response
successfully,
or
when
timeout
occurs
(Sn_IR[TIMEOUT] = ‘1’).
Sn_PNR (Socket n Protocol Number Register)
Address Offset : 0x0100
Reset value : 0x0000_0000
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
res
Res
Res
res
res
res
res
res
res
res
res
res
res
res
res
res
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
res
Res
Res
res
res
res
res
res
Sn_PNR[7:0]
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
This IP Protocol Register is user to set up the Protocol Field of IP Header at the IP layer RAW
mode. There are several protocol number defined in advance by registering to IANA. For the