Xoom + B4A-Bridge gives bad My IP

myriaddev

Active Member
Licensed User
Longtime User
Hi. Just got my Xoom and down loaded B4A-Bridge 1.0
and got My IP: fe80::217:ff:fee0:db2c

Got my Galaxy Tab to connect and it gave me
My IP: 192.168.0.86

Thanks for your help!
Jerry
 

myriaddev

Active Member
Licensed User
Longtime User
Hi. Just got my Xoom and down loaded B4A-Bridge 1.0
and got My IP: fe80::217:ff:fee0:db2c. How do I enter
that # (IPv6) into the PC's B4A-Bridge side ?
Thanks, Jerry
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I've updated the Network library and GetMyIp method should now prefer the IPv4 address.
Can you please download the library and put it in the internal libraries folder.
The version is 1.02.
Then try the following code:
B4X:
Sub Activity_Create(FirstTime As Boolean)
    Dim s As ServerSocket
    s.Initialize(0, "")
    Msgbox(s.GetMyIP, "")
End Sub
Which IP is returned?
 
Upvote 0

myriaddev

Active Member
Licensed User
Longtime User
YES! new network lib forces IPv4 and now B4A-Bridge works on Xoom

Thanks again! I compiled using your new network lib 1.02, and
putting in code, I get IPv4 address of xoom (192.168.0.90), and
I entered that IP address into B4A-Bridge on PC side and it WORKED!
Also my Galaxy Tab works too, giving IPv4: 192.168.0.86)
Thanks,
Jerry
 
Upvote 0
Top