In perl.git, the branch tonyc/133936-more-socket-send has been created
<https://perl5.git.perl.org/perl.git/commitdiff/1cd58fbe94e083531b4cd36c6241e19be1afa048?hp=0000000000000000000000000000000000000000>
at 1cd58fbe94e083531b4cd36c6241e19be1afa048 (commit)
- Log -----------------------------------------------------------------
commit 1cd58fbe94e083531b4cd36c6241e19be1afa048
Author: Tony Cook <[email protected]>
Date: Tue Jun 18 14:59:00 2019 +1000
(perl #133936) make send() a bit saner
This undoes some of the effect of f1000aa2d in that TO will always
be supplied to CORE::send() if it's supplied, otherwise whether
TO is supplied to CORE::send() is based on whether the socket is
connected.
On Linux you appear to be able to sendto() to a different address on
a connected UDP socket, but this doesn't appear to be portable,
failing on darwin, and presumably on other BSDs.
-----------------------------------------------------------------------
--
Perl5 Master Repository