| Electronic Components Datasheet Search |
|
W5100S Datasheet(PDF) 62 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W5100S Datasheet(HTML) 62 Page - WIZnet Co., Ltd |
|
62 / 110 page ![]() 62 / 110 W5100S Datasheet Version1.2.5 Disconnecting Process In Passive Close, if FIN Packet is received from Peer and there is no Data to be transmitted, SOCKET transmits FIN Packet and it will be closed. If there is no response from Peer against of transmitted FIN Packet within the Retransmission Time, Sn_IR [TIMEOUT] is set to ‘1’. In Active Close, if SOCKET transmits FIN Packet to Peer, SOCKET waits for Peer FIN Packet. SOCKET will be closed after receiving FIN Packet from Peer. If there is no response from Peer against of transmitted FIN Packet within the Retransmission Time, Sn_IR [TIMEOUT] is set to ‘1’. Passive Close: /* received FIN Packet from Peer */ { /* send FIN Packet */ Sn_CR = DISCON; while(Sn_CR != 0x00); /* wait until DISCON Command is cleared*/ /* wait unit ACK Packet is received*/ while(Sn_IR[DISCON] == ‘0’ and Sn_IR[TIMEOUT] == ‘0’) ; if (Sn_IR[DISCON] == ‘1’) { /* clear Interrupt */ Sn_IR[DISCON] = ‘1’; goto CLOSED; } else goto Timeout?; } Active Close : /* sent FIN Packet to Peer */ { /* wait until FIN Packet is received*/ while(Sn_IR[DISCON] == ‘0’ and Sn_IR[TIMEOUT] == ‘0’) ; if (Sn_IR[DISOCN] == ‘1’) { /* clear Interrupt */ Sn_IR[DISCON] = ‘1’; goto CLOSED; } else goto Timeout?; } |
|
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 |