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]

Re: Misguided error code in net code?


"Trenton D. Adams" wrote:
> 
> I might just do that if I have problems in the future with it when I get
> down to actually writing some real net code.  The thing I find weird, is
> how you supposed to tell if a connection has been reset?  I suppose I
> could go over to the other system and see if it disconnected, but that's
> just a work around.

You could use select() or possibly write() may give different answers.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


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