Home  >  Q&A  >  body text

node.js官方文档这个例子的表述是否有问题

node.js官方文档里的一个例子我总感觉有问题,希望帮我解惑一下,谢谢:

文档地址链接:https://nodejs.org/dist/lates...

这里不是已经指定发送到特定端口41234吗?为什么表述为发送到"random port"(随机端口)?不是应该表述为"specified port"(指定端口)吗?

怪我咯怪我咯2764 days ago691

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-17 15:46:44

    Thank you for the invitation. My English is terrible. I never noticed that this sentence has this meaning when I read the document before. . .

    I think this means that dgram has the ability to send UDP packets to any random port. 41234 is just an example.

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:46:44

    can be understood as "any port", "any port"

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:46:44

    Just choose a port, and give an example, such as 41234

    reply
    0
  • Cancelreply