NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: TCP/IP outbound connection "routing"



>nc has:
>                -s addr         Local source address
>
>would that work?  It might take some scripting to figure out
>which interface is using which address.

In my continued research on this I have found some notes that indicate that
the "bind() call may be used against the socket() call result, prior to the
connect() call. Although bind() traditionally is used for listeners
apparently it also works for the connect() call as well. We are putting
together some small code snippets to test.

Scott...



Home | Main Index | Thread Index | Old Index