On Wed, 2008-12-03 at 22:15 +0800, yueyue papa wrote: > I am confused > > >>You can use the SO_RCVTIMEO socket option to set the recv() > operation's timeout > it means I could set receive timeout for receive timeout, but I could > not use it for connect timeout. Am I right? > So write is is not time out, > Listen is no timeout
That is correct. listen() is not normally a blocking call anyway. recv() can time out if you set SO_RCVTIMEO accept() will also time out if you set SO_RCVTIMEO connect() and write() would need support for SO_CONTIMEO and SO_SNDTIMEO which are not implemented (yet) in lwIP. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
