Mac and Linux problem with SOCK_GETIP()

Previous topic - Next topic

MrTAToad

It appears that, on Mac and Linux, when doing SOCK_GETIP(""), both return -1 (255.255.255.255), whilst Windows returns the machine IP number.

Kitty Hello

ah. My bad. Try "localhost", please.

MrTAToad

Unfortunately localhost just returns 127.0.0.1