02.02.2018 Views

Practical_modern_SCADA_protocols_-_dnp3,_60870-5_and_Related_Systems

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

348 <strong>Practical</strong> Modern <strong>SCADA</strong> Protocols: DNP3, <strong>60870</strong>.5 <strong>and</strong> <strong>Related</strong> <strong>Systems</strong><br />

Sending a UDP datagram involves very little overhead in that there are no synchronization<br />

parameters, no priority options, no sequence numbers, no timers, <strong>and</strong> no retransmission of<br />

packets. The header is small, the protocol is streamlined functionally. The only major<br />

drawback is that delivery is not guaranteed. UDP is therefore used for communications<br />

that involve broadcasts, for general network announcements, or for real-time data.<br />

The UDP header<br />

The UDP header is significantly smaller than the TCP header <strong>and</strong> only contains four<br />

fields.<br />

Figure 12.20<br />

UDP header format<br />

UDP source port (16 bits) is an optional field. When meaningful, it indicates the port<br />

of the sending process, <strong>and</strong> may be assumed to be the port to which a reply should be<br />

addressed in the absence of any other information. If not used, a value of zero is inserted.<br />

UDP destination port has the same meaning as for the TCP header, <strong>and</strong> indicates the<br />

process on the destination host to which the data is to be sent. UDP message length is the<br />

length in bytes of the datagram including the header <strong>and</strong> the data.<br />

The 16-bit UDP checksum is used for validation purposes.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!