Posted by Nick on January 23, 2007 at 22:04:12:
Is there a way for a server to bind to/listen on a specific IP? Right now I have:
[...]
if ( !nlInit() )
exit_error();
socket = nlOpen(25000, NL_TCP);
[...]
if ( !nlListen(socket) ) {
nlClose(socket);
exit_error();
}
[...]
This just selects-- I am assuming-- the first available adapter and binds to it. In my case this is Hamachi (zero-configuration VPN software) and that obviously will not do for anyone not on my VPN network-- which is everyone but me.