[NBLUG/talk] perl http request over alias nic

Scott Doty scott at corp.sonic.net
Wed May 24 16:27:00 PDT 2006

On Wed, May 24, 2006 at 12:02:57PM -0700, Walter Hansen wrote:
> Well I had thought of that, but I wanted to change the nic on the fly
> rather than in a perament manner. I dug through a lot of modules, but they
> don't seem to alow interface selection.

Just call bind() after socket() and before connect().  :)

A hoary old text:  http://www.sonic.net/scott/ip/ipc_tutorial.ps

p.s. you can also do it using the Linux "ip" command, but that's not as

More information about the talk mailing list