[Bug 285316] The target address passed is not ignored when the socket is in a connected state
Date: Tue, 11 Mar 2025 01:09:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285316
nakayamakenjiro@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #258549|text/x-csrc |text/plain
mime type| |
--- Comment #2 from nakayamakenjiro@gmail.com ---
Created attachment 258549
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258549&action=edit
An example code to produce the error.
When running this sample code, it gets EISCONN error because msg_name is
specified in connected socket state.
It is different from what man page's explained:
'''
If the socket is in a connected state, the target address passed to
sendto(), sendmsg() or sendmmsg() is ignored.
'''
--
You are receiving this mail because:
You are the assignee for the bug.