On Tue, Jan 23, 2007 at 02:10:39PM +0300, Michael Tokarev wrote: > > Well, but why getsockname() didn't just return ENOTCONN?
It's perfectly valid to have a local port number without being connected. 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