Changes

736 bytes added ,  10:35, 31 October 2018
Line 420: Line 420:  
Server acknowledges data reception (2 data elements):
 
Server acknowledges data reception (2 data elements):
 
00000002
 
00000002
 +
 +
 +
*'''SENDING DATA OVER UDP/IP'''
 +
 +
 +
*''UDP channel protocol''
 +
 +
UDP channel is a transport layer protocol above UDP/IP to add reliability to plain UDP/IP using acknowledgment packets. The packet structure is as follows:
 +
 +
{| class="wikitable "
 +
|-
 +
| style="background: black; color: white;"|UDP datagram
 +
|-
 +
| Example || 2 bytes || Packet length (excluding this field) in big ending byte order
 +
|-
 +
| Packet Id || 2 bytes || Packet id unique for this channel
 +
|-
 +
| Packet Type || 1 byte || Type of this packet
 +
|-
 +
| Packet payload || m bytes || Data payload
 +
|}
 +
 +
 +
{| class="wikitable"
 +
|-
 +
! Header text !! Header text !! Header text
 +
|-
 +
| Example || Example || Example
 +
|-
 +
| Example || Example || Example
 +
|-
 +
| Example || Example || Example
 +
|}

Navigation menu