Posted by Scott on 08/18/06 14:15
Thanks Miguel thats exactly what I needed to know.
Miguel Cruz wrote:
> scott.horne@gmail.com wrote:
> > I have a machine with multiple IP addresses and I want to select the IP
> > address used by my script when it connects to another location. Does
> > any one know a way to select which IP address to use when creating a
> > connection ?
>
> The second option to socket_bind() is the source IP address you'd like
> to use.
>
> miguel
> --
> Photos from 40 countries on 5 continents: http://travel.u.nu
> Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
> Airports of the world: http://airport.u.nu
[Back to original message]
|