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