[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: select/accept DECnet connection question ...



I've hit this, I think its to because accept needs to be able to block - so you need to set the socket to blocking before calling accept().

I don't know if there is any way aroud this...Steve?

Patrick

________________ Reply Header ________________
Subject:	select/accept DECnet connection question ...
Author:	Rob Davies <robdavies@worldnet.att.net>
Date:		 Tue,  8 Feb 2000 20:11:07 +0000

OK, here's the problem ... I set up a listening socket, which appears to be working according to the returned status at the various stages, run select() on the listening socket, and when select returns with FD_ISSET on the read file descriptor due to an incoming connection request, I do an accept() on the file descriptor, and it returns -1, with an errno of:

"Resource temporarily unavailable"

Any suggestions why this is happening? Have I missed any important steps?
More detail below for those interested...

Thanks

Rob.

-----------------------------------------------------------------------------
To unsubscribe from this list, send a mail to majordomo@dreamtime.org
containing the line "unsubscribe linux-decnet"
-----------------------------------------------------------------------------