English
Language : 

W3100A Datasheet, PDF (27/63 Pages) List of Unclassifed Manufacturers – i2Chip W3100A
starting point
CLOSED
cmd : sys_init,
close
cmd : sock_init
INIT
Timeout ಋ
recv : RST
SYNRCVD
ESTABLISHED
recv : ACK
cmd : listen
LISTEN
recv : SYN
send : SYN, ACK
a. CLOSED state: channel is initialized by executing sys_init or close command
b. INIT state: sets the port number (source port register) to be used in the channel and activates the channel
by executing the sock_init command
c. LISTEN state: stands by for connection set-up from the peer. When SYN packet for the corresponding
port is received from the peer, SYN,ACK packet is transmitted and changes to SYNRCVD state.
d. SYNRCVD state: SYN,ACK packet is transmitted and stands by for ACK from the peer. When reply
from the peer is received, it changes to ESTABLISHED state, and when no reply is received, SYN,ACK
Packet is re-transmitted and changes to CLOSED state upon occurrence of timeout or receipt of RST packet.
TCP Connection Termination Process
In line with the connection set-up process, TCP connection termination process also uses three-way
handshaking method.
Sending FIN after receiving Close command from the application is called active close, and closing after
receiving FIN from the peer is called passive close.
cmd : close
send : FIN
ESTABLISHED
FIN_WAIT1
recv : ACK
FIN_WAIT2
recv : FIN
send : ACK
recv : FIN, ACK
send : ACK
recv : FIN
send : ACK
active close
CLOSING
recv : ACK
TIME_WAIT
CLOSED
recv : FIN
send : ACK
CLOSE_WAIT
cmd : close
send : FIN
LAST_ACK
recv : ACK
passive close
oˆ™‹ž™Œ‹Gp•›Œ™•Œ›Gj–••ŒŠ›› G~¡ˆ™‹GO~p•Œ›SGp•ŠUPG
Y^