GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2009-Mar-28

Title: Mac and Linux problem with SOCK_GETIP()
Post by: MrTAToad on 2009-Mar-28
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.
Title: Re: Mac and Linux problem with SOCK_GETIP()
Post by: Kitty Hello on 2009-Mar-30
ah. My bad. Try "localhost", please.
Title: Re: Mac and Linux problem with SOCK_GETIP()
Post by: MrTAToad on 2009-Mar-30
Unfortunately localhost just returns 127.0.0.1