| Electronic Components Datasheet Search |
|
W5500 Datasheet(PDF) 49 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5500 Datasheet(HTML) 49 Page - WIZnet Co., Ltd |
|
49 / 66 page ![]() W5500 Datasheet Version1.0.9 49 / 66 Sn_SR (Socket n Status Register) [R] [0x0003] [0x00] Sn_SR indicates the status of Socket n. The status of Socket n is changed by Sn_CR or some special control packet as SYN, FIN packet in TCP. Value Symbol Description 0x00 SOCK_CLOSED This indicates that Socket n is released. When DISCON, CLOSE command is ordered, or when a timeout occurs, it is changed to SOCK_CLOSED regardless of previous status. 0x13 SOCK_INIT This indicates Socket n is opened with TCP mode. It is changed to SOCK_INIT when Sn_MR (P[3:0]) = ‘0001’ and OPEN command is ordered. After SOCK_INIT, user can use LISTEN /CONNECT command. 0x14 SOCK_LISTEN This indicates Socket n is operating as ‘TCP server’ mode and waiting for connection-request (SYN packet) from a peer (‘TCP client’). It will change to SOCK_ESTALBLISHED when the connection- request is successfully accepted. Otherwise it will change to SOCK_CLOSED after TCPTO occurred (Sn_IR(TIMEOUT) = ‘1’). 0x17 SOCK_ESTABLISHED This indicates the status of the connection of Socket n. It changes to SOCK_ESTABLISHED when the ‘TCP SERVER’ processed the SYN packet from the ‘TCP CLIENT’ during SOCK_LISTEN, or when the CONNECT command is successful. During SOCK_ESTABLISHED, DATA packet can be transferred using SEND or RECV command. 0x1C SOCK_CLOSE_WAIT This indicates Socket n received the disconnect-request (FIN packet) from the connected peer. This is half-closing status, and data can be transferred. For full-closing, DISCON command is used. But For just-closing, CLOSE command is used. 0x22 SOCK_UDP This indicates Socket n is opened in UDP mode(Sn_MR(P[3:0]) = ‘0010’). It changes to SOCK_UDP when Sn_MR(P[3:0]) = ‘0010’) and OPEN command is ordered. Unlike TCP mode, data can be transfered without the connection-process. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |