Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 12:05:14 -0400
From:      Brian McGovern <bmcgover@cisco.com>
To:        questions@FreeBSD.ORG
Subject:   Couple of questions on socket implementation...
Message-ID:  <199805221605.MAA01001@bmcgover-pc.cisco.com>

next in thread | raw e-mail | index | archive | help
1.) What is the "right way" to set a socket to be non-blocking. I thought this 
was a feature of setsockopt(), but it doesn't seem to be from man page (can't
find anything on blocking).

2.) Also, when the peer of, say, a tcp connection goes away, how is this
reported to the other end? Via a signal? Error on read/write?

Thanks for the input.
	-Brian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805221605.MAA01001>