On Thu, 18 Nov 2004, Chris Wright wrote:
quoted
(Also now ignores any supplied address per
http://www.opengroup.org/onlinepubs/009695399/functions/sendto.html)
Nitpick, but I missed where it said ignore the address. And it seems
counter intuitive to provide address, only to have it ignored and
delivered elsewhere.
For sendto():
"If the socket is connection-mode, dest_addr shall be ignored."
For sendmsg():
"If the socket is connection-mode, the destination address in msghdr
shall be ignored."
I agree that it's counter intuitive (and surely an application bug), but
some feedback I've had suggests we follow the spec.
- James
--
James Morris
[off-list ref]