Title: dgram: follow the same standard of net for the default address · Issue #5487 · nodejs/node · GitHub
Open Graph Title: dgram: follow the same standard of net for the default address · Issue #5487 · nodejs/node
X Title: dgram: follow the same standard of net for the default address · Issue #5487 · nodejs/node
Description: In dgram, if you omit the address in send (https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback), message is sent to '0.0.0.0' or '::0' whereas in net the default address for net.connect is 'localho...
Open Graph Description: In dgram, if you omit the address in send (https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback), message is sent to '0.0.0.0' or '::0' whereas in net the def...
X Description: In dgram, if you omit the address in send (https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback), message is sent to '0.0.0.0' or '::0' wherea...
Opengraph URL: https://github.com/nodejs/node/issues/5487
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dgram: follow the same standard of net for the default address","articleBody":"In dgram, if you omit the `address` in send (https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback), message is sent to `'0.0.0.0'` or `'::0'` whereas in net the default address for `net.connect` is `'localhost'` (https://nodejs.org/api/net.html#net_net_connect_options_connectlistener).\n\nThis behavior has been around since forever, making `dgram.send` default address not reliable (see https://github.com/nodejs/node/pull/5407#issuecomment-189762930).\n\nI propose to reconcile this two behavior, having `dgram` default to `'localhost'` as well.\n\nThis will be a semver-major change.\n\ncc @silverwind @rvagg @mafintosh @feross\n","author":{"url":"https://github.com/mcollina","@type":"Person","name":"mcollina"},"datePublished":"2016-02-29T11:04:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/5487/node/issues/5487"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8fc8b649-9da9-9a43-4c76-1a2acf71126e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AEEC:2CD26:10117A6:177EB71:6A4E3743 |
| html-safe-nonce | c3aa4a8347b9d276a3344b31a61e51d1fa4f60494cc538ba4b9c0794ff78359e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUVDOjJDRDI2OjEwMTE3QTY6MTc3RUI3MTo2QTRFMzc0MyIsInZpc2l0b3JfaWQiOiI3ODY2NDU1MDMyMTczODM2MDk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 443e57c9c3b63f28d5b9cfd7c412439dda536f413c0bd93d95ebea7ccf13f247 |
| hovercard-subject-tag | issue:137221023 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/5487/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0f67fed1ac9b9da9e7441227723a636ef82b388d6d56c7829cd65f500eb4247/nodejs/node/issues/5487 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0f67fed1ac9b9da9e7441227723a636ef82b388d6d56c7829cd65f500eb4247/nodejs/node/issues/5487 |
| og:image:alt | In dgram, if you omit the address in send (https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback), message is sent to '0.0.0.0' or '::0' whereas in net the def... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mcollina |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width