uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

Add support for special hostname <broadcast>

Open jpbede opened this issue 1 year ago • 2 comments

Currently sendto would fail if you use the special hostname <broadcast>, which is a valid use according to the Python docs. This PR proposes to to "resolve" it to the broadcast address before passing it to uv_ip4_addr.

This resolves the issue https://github.com/MagicStack/uvloop/issues/540

jpbede avatar Jan 29 '24 07:01 jpbede

Thanks for the review. I moved the "resolving" of <broadcast> to the UDP handle and added a test case for getaddrinfo

jpbede avatar Sep 07 '24 21:09 jpbede

Any chance of this being merged?

rlippmann avatar Nov 15 '24 00:11 rlippmann