| Electronic Components Datasheet Search |
|
W6100 Datasheet(PDF) 107 Page - WIZnet Co., Ltd |
|
|
|||||||||||||||||||||||||||||
W6100 Datasheet(HTML) 107 Page - WIZnet Co., Ltd |
|
107 / 149 page ![]() W6100 – Hardwired Dual TCP/IP Stack Controller 107/149 /* check SOCKET for UDPD Mode */ if(Sn_SR != SOCK_UDP) goto START; } Received DATA? Refer to 6.2.1 TCP SERVER: Received DATA? Receiving Process UDP dual mode SOCKET can receive UDP4 / UDP6 packets from one or more destinations, and the received data packets are stored in SOCKET n RX buffer with 'PACKET INFO’. HOST can know the IP version, transmission method, and destination information of received data packet from the 'PACKET INFO’. HOST must read data from SOCKET n RX buffer in the format of Figure 24. If the received data is fragmented or bigger than SOCKET n RX buffer free size, it is discarded. Refer to Figure 24 and Table 4 { /* extract upper 2 bytes in PACKINFO */ goto 6.2.1 TCP SERVER: Receiving Process with get_size = 2 bytes; data_size = (destination_address[0] & “00000111” << 8) + destination_address[1]; /* check UDP4 or UDP6 DATA Packet, extract Destination IP, Port, Size in PACKE INFO */ if(destination_address[0] & “10000000” == 0) /* UDP4 DATA Packet */ { goto 6.2.1 TCP SERVER: Receiving Process with get_size = 6 bytes; dest_ip[0:3] = destination_address[0:3]; dest_port = (destination_address[4] << 8) + destination_address[5]; } else /* UDP6 DATA Packet */ { goto 6.2.1 TCP SERVER: Receiving Process with get_size = 18 bytes; dest_ip[0:15] = destination_address[0:15]; dest_port = (destination_address[16] << 8) + destination_address[17]; } /* read UDP DATA */ |
|
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 |