@@ -516,25 +516,25 @@ client.connect(41234, 'localhost', (err) => {
516
516
517
517
#### Note about UDP datagram size
518
518
519
- The maximum size of an ` IPv4/v6 ` datagram depends on the ` MTU `
520
- (_ Maximum Transmission Unit _ ) and on the ` Payload Length ` field size.
519
+ The maximum size of an IPv4/v6 datagram depends on the ` MTU `
520
+ (Maximum Transmission Unit ) and on the ` Payload Length ` field size.
521
521
522
- * The ` Payload Length ` field is ` 16 bits ` wide, which means that a normal
523
- payload cannot exceed 64K octets _ including _ the internet header and data
522
+ * The ` Payload Length ` field is 16 bits wide, which means that a normal
523
+ payload cannot exceed 64K octets including the internet header and data
524
524
(65,507 bytes = 65,535 − 8 bytes UDP header − 20 bytes IP header);
525
525
this is generally true for loopback interfaces, but such long datagram
526
526
messages are impractical for most hosts and networks.
527
527
528
528
* The ` MTU ` is the largest size a given link layer technology can support for
529
- datagram messages. For any link, ` IPv4 ` mandates a minimum ` MTU ` of ` 68 `
530
- octets, while the recommended ` MTU ` for IPv4 is ` 576 ` (typically recommended
529
+ datagram messages. For any link, IPv4 mandates a minimum ` MTU ` of 68
530
+ octets, while the recommended ` MTU ` for IPv4 is 576 (typically recommended
531
531
as the ` MTU ` for dial-up type applications), whether they arrive whole or in
532
532
fragments.
533
533
534
- For ` IPv6 ` , the minimum ` MTU ` is ` 1280 ` octets, however , the mandatory minimum
535
- fragment reassembly buffer size is ` 1500 ` octets. The value of ` 68 ` octets is
534
+ For IPv6, the minimum ` MTU ` is 1280 octets. However , the mandatory minimum
535
+ fragment reassembly buffer size is 1500 octets. The value of 68 octets is
536
536
very small, since most current link layer technologies, like Ethernet, have a
537
- minimum ` MTU ` of ` 1500 ` .
537
+ minimum ` MTU ` of 1500.
538
538
539
539
It is impossible to know in advance the MTU of each link through which
540
540
a packet might travel. Sending a datagram greater than the receiver ` MTU ` will
0 commit comments