[comp.protocols.tcp-ip] Out Of Band data processing.

joel@isc.intel.com (Joel Clark) (06/08/90)

Two questions regarding Out Of Band data processing.

1) If a socket has the OOBINLINE option set and a user calls recv() on it
   with the MSG_OOB flag set, what should be returned to the recv() call?
	An error? which error?
	The next data in the INLINE Queue?

2) If a socket does not have the OOBINLINE option set and a user calls 
   recv() on it with the MSG_OOB flag set and there is no Out OF Band data
   what should happen?

	The recv() call blocks waiting for Out Of Band data unless the
	socket is NON-Blocking in which case the recv call returns
	EWOULDBLOCK in errno?

	The recv() call returns zero bytes immediately?

	The recv() call returns an error? which error?

Please Email if possible and I will summarize for the net.

Joel Clark
Intel Scientific Computers
Beaverton, Or. USA
(503) 629-7732
joel@isc.intel.com

george@na.excelan.com (George Powers) (06/12/90)

From excelan!zaphod.mps.ohio-state.edu!samsung!uunet!ogicse!littlei!intelisc!isc.intel.com!joel Mon Jun 11 13:26:24 PDT 1990
Article 3226 of comp.protocols.tcp-ip:
Path: excelan!zaphod.mps.ohio-state.edu!samsung!uunet!ogicse!littlei!intelisc!isc.intel.com!joel
>From: joel@isc.intel.com (Joel Clark)
Newsgroups: comp.protocols.tcp-ip
Subject: Out Of Band data processing.
Message-ID: <772@intelisc.isc.intel.com>
Date: 7 Jun 90 20:24:42 GMT
Sender: joel@isc.intel.com
Distribution: na
Organization: Intel Scientific Computers, Beaverton, Oregon
Lines: 28



Two questions regarding Out Of Band data processing.

1) If a socket has the OOBINLINE option set and a user calls recv() on it
   with the MSG_OOB flag set, what should be returned to the recv() call?
	An error? which error?
	The next data in the INLINE Queue?

2) If a socket does not have the OOBINLINE option set and a user calls 
   recv() on it with the MSG_OOB flag set and there is no Out OF Band data
   what should happen?

	The recv() call blocks waiting for Out Of Band data unless the
	socket is NON-Blocking in which case the recv call returns
	EWOULDBLOCK in errno?

	The recv() call returns zero bytes immediately?

	The recv() call returns an error? which error?

Please Email if possible and I will summarize for the net.

Joel Clark
Intel Scientific Computers
Beaverton, Or. USA
(503) 629-7732
joel@isc.intel.com


--
UUCP: {ames,sun,apple,mtxinu,cae780,sco}!novell!george  George Powers
Internet: george@novell.com 
--