Re: multihomed hosts and UDP source address
From: jordan liu
Date: Tue Nov 20 2007 - 01:45:33 EST
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 <herbert@xxxxxxxxxxxxxxxxxxx>:
> Jeremy Jackson <jerj@xxxxxxxxxxxx> 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~} <herbert@xxxxxxxxxxxxxxxxxxx>
> 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 majordomo@xxxxxxxxxxxxxxx
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html