Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2020 16:12:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245817] sendto() can return ENOTCONN on SOCK_STREAM unix socket, which is not documented
Message-ID:  <bug-245817-227-MV8EUrOhnN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245817-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245817-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245817

--- Comment #3 from commit-hook@freebsd.org ---
A commit references this bug:

Author: markj
Date: Mon Apr 27 16:12:33 UTC 2020
New revision: 360384
URL: https://svnweb.freebsd.org/changeset/base/360384

Log:
  Document handling of connection-mode sockets by sendto(2).

  sendto(2), sendmsg(2) and sendmmsg(2) return ENOTCONN if a destination
  address is specified and the socket is not connected and the socket
  protocol does not automatically connect ("implied connect").  Document
  that.  Also document the fact that the destination address is ignored
  for connection-mode sockets if the socket is already connected.

  PR:           245817
  Submitted by: Erik Inge Bols? <knan-bfo@modirum.com>
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D24530

Changes:
  head/lib/libc/sys/send.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245817-227-MV8EUrOhnN>