This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to find out if socket closed?


On Mon, Jul 14, 2003 at 09:40:00AM -0500, Grant Edwards wrote:

> If I submitted a patch (to the old stack) adding an ioctl that
> returned the SS_CANTRECVMORE flag, what are the chances of it
> being accepted?

Here's a patch that adds an option for getsockopt() to retrieve
the state of the SS_CANTRCVMORE flag.  The current
implimentation of getsockopt(SO_ERROR) seemed to be the closest
thing I could find to what I was adding, so that's where it went.

-- 
Grant Edwards
grante@visi.com

Attachment: cantrcvmore.patch
Description: Text document

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]