Poul Christiansen
|
bind() to "127.0.0.x" (x > 1)
|
Poul Christiansen
09/16/2011 4:59 AM
post88885
|
bind() to "127.0.0.x" (x > 1)
Hi
I'm trying to bind a socket to "127.0.0.2" (port 10001), but failing with errno == EADDRNOTAVAIL, "Can't assign
requested address"...
It obviously works with the normal default localhost 127.0.0.1, but seems to fail for any other 127.0.0.x address.
It's is my impression that it should work and it works on Windows. Am I missing a route?
Best Regards
Poul Christiansen
|
|
|