On 29/07/07, Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote: > > guy keren wrote: > > here is something interesting: man 7 socket > > and look for 'SO_BINDTODEVICE' > > You might find the following example useful: > > http://www.codefidence.com/src/bindtodevice.c
What's wrong with a simple bind(address, port-zero)? It works for me. --Amos