Channel Registers - Advantech EH-8100 Reference Manual

Ethernet & tcp/ip protocols stack
Table of Contents

Advertisement

4. Channel Registers

SSR (Socket State Register) [R, C0 : 0xA0, C1 : 0x B8, C2 : 0x D0, C3 : 0x E8]
To display the socket state of the corresponding channel.
Value
0x00
SOCK_CLOSED
0x01
SOCK_ARP
0x02
SOCK_LISTEN
0x03
SOCK_SYNSENT
0x04
SOCK_SYNSENT_ACK
0x05
SOCK_SYNRECV
0x06
SOCK_ESTABLISHED
0x07
SOCK_CLOSE_WAIT
0X08
SOCK_LAST_ACK
0X09
SOCK_FIN_WAIT1
0X0A
SOCK_ FIN_WAIT2
0X0B
SOCK_CLOSING
0X0C
SOCK_TIME_WAIT
0X0D
SOCK_RESET
0X0E
SOCK_INIT
0X0F
SOCK_UDP
0X10
SOCK_RAW
0X11
SOCK_UDP_ARP
0X12
SOCK_UDP_DATA
0X13
SOCK_RAW_INIT
State
Socket is closed
Standing by for reply after transmitting ARP
Request
Standing by for connection set-up to the client
when acting in passive mode
Standing by for SYN,ACK after transmitting
SYN for connection set-up when acting in
active mode
Connection set-up is complete after SYN,ACK
is received and ACK is transmitted in active
mode
SYN,ACK is being transmitted after receiving
SYN from the client in listen state, passive
mode
Connection set-up is complete in active, passive
mode
Connection being terminated
Connection being terminated
Connection being terminated
Connection being terminated
Connection being terminated
Connection being terminated
Connection is being terminated after receiving
reset packet from the peer
Socket initializing
Applicable channel is initialized in UDP mode
Applicable channel is initialized in IP layer
RAW mode
Standing by for reply after transmitting ARP
request packet to the destination for UDP
transmission
Data transmission in progress in UDP or RAW
mode
The Ethernet I/F of EH-8100-Lx initialized in
MAC layer RAW mode
- 12 -
Meaning

Advertisement

Table of Contents
loading

Table of Contents