[Solved] Sockets Getting IP at 0.0.0.0

BlitzMax Forums/BlitzMax Programming/[Solved] Sockets Getting IP at 0.0.0.0

RustyKristi(Posted 2016) [#1]
Compiled my custom module in Win32 and everything is ok and shows local ip 192.x.x.x, when I transferred it to Linux 32 vanilla build, works ok but is showing IP 0.0.0.0

Any similar experience related to this issue? I'm just using BRL.Sockets.


Derron(Posted 2016) [#2]
Please provide an working sample app/code... surely speeds up resolving the issue.

Bye
Ron


xlsior(Posted 2016) [#3]
Does the Linux machine have more than one network adapter?

(e.g. on a laptop with both wifi and LAN, it's possible that only the wifi adapter actually has an IP associated with it if the LAN is not physically connected)


Derron(Posted 2016) [#4]
@ xlsior
He wrote that it works with vanilla, but not with NG. So the reason is unlikely an adapter thing (assuming, that it then also breaks with vanilla - or the module itself is borked).

Let's wait for the sample code.


bye
Ron


RustyKristi(Posted 2016) [#5]
@xlsior. Yes it does, I thought it would not work but still using 0.0.0.0 it does not matter I got this issue resolved.

Thanks guys!