[Bug 245817] sendto() can return ENOTCONN on SOCK_STREAM unix socket, which is not documented

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 27 16:12:59 UTC 2020


--- Comment #3 from commit-hook at 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

  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 at modirum.com>
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D24530


You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-doc mailing list