You can use a random interface number from 50000 to 65535, or setsockopt with SO_REUSEADDR, or share the sock interface with other thread.
2007/11/20, Herbert Xu <[EMAIL PROTECTED]>: > Jeremy Jackson <[EMAIL PROTECTED]> wrote: > > > > Is there a solution that lets a single socket "not-bind" to certain > > interfaces? > > By binding it to a specific interface? > > 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 linux-net" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Best Regards, Libing Liu - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html