| 전자부품 데이터시트 검색엔진 |
|
W6100 데이터시트(PDF) 91 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W6100 데이터시트(HTML) 91 Page - WIZnet Co., Ltd |
|
91 / 149 page ![]() W6100 – Hardwired Dual TCP/IP Stack Controller 91/149 } Disconnected (Active Close) This is the active close process. It transmits the FIN packet to peer. { Sn_CR[DISCON] = ‘1’; /* send FIN Packet */ while(Sn_CR != 0x00); /* wait until DISCON Command is cleared */ goto Disconnecting Process; } Disconnecting Process In passive close, if SOCKET n receives FIN packet from peer and it doesn’t have data to transmit anymore, it transmits FIN packet and closes. In active close, SOCKET transmits FIN packet to peer and waits for FIN packet from peer. It closes when it receives FIN packet from peer. If there is no response to FIN packet within the whole retransmission time, Sn_IR[TIMEOUT] interrupt occurs. Passive Close: /* received FIN Packet from Destination */ { Sn_CR = DISCON; /* send FIN Packet */ 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’) { Sn_IRCLR[DISCON] = ‘1’; /* clear Interrupt */ goto CLOSED; } else goto Timeout?; } Active Close : /* sent FIN Packet to Destination */ { /* wait until FIN Packet is received */ while(Sn_IR[DISCON] == ‘0’ and Sn_IR[TIMEOUT] == ‘0’); if (Sn_IR[DISOCN] == ‘1’) |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |