On Tue, Jan 23, 2007 at 02:15:45PM +0300, Michael Tokarev wrote: > > Still, after the connection has been closed, there's no chance to do > anything with the filedescriptor but to close it as well, right? Or > can the fd be reused by making new connection with it, as if it were > just returned from socket() call?
Yes you can connect out on it again if you're in TCP_CLOSE. The fact that the port number has changed implies that you've entered TCP_CLOSE. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html