Date: Tue, 11 Mar 2025 01:09:14 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 285316] The target address passed is not ignored when the socket is in a connected state Message-ID: <bug-285316-227-eB5CdSl2sl@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-285316-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285316-227-eB5CdSl2sl>
