Hi,
I just cannot connect a socket using a hostname, IP address is OK.
Socket1.Initialize("Socket1")
Socket1.Connect("192.168.1.2","7", 5000)
will connect....
Socket1.Initialize("Socket1")
Socket1.Connect("user-d2f90b4478","7", 5000)
will not connect....
On the PC I am trying to connect to with an android app, I can run DOS shell, and typing hostname, gives the hostname as above.
I can ping the hostname from any number of connected laptops just fine.
Using catalyst socketwrench in a VB6 app, of which I am trying to duplicate in android b4a, I can connect to the server program using either the hostname or the IP address no problem.
using the android b4a app, just will not connect using hostname, it will not resolve to an IP and connect.
No firewalls running.
I would attach the app, but it literally is just those 2 lines of code.
Any help appreciated etc.
Rigsby.
I just cannot connect a socket using a hostname, IP address is OK.
Socket1.Initialize("Socket1")
Socket1.Connect("192.168.1.2","7", 5000)
will connect....
Socket1.Initialize("Socket1")
Socket1.Connect("user-d2f90b4478","7", 5000)
will not connect....
On the PC I am trying to connect to with an android app, I can run DOS shell, and typing hostname, gives the hostname as above.
I can ping the hostname from any number of connected laptops just fine.
Using catalyst socketwrench in a VB6 app, of which I am trying to duplicate in android b4a, I can connect to the server program using either the hostname or the IP address no problem.
using the android b4a app, just will not connect using hostname, it will not resolve to an IP and connect.
No firewalls running.
I would attach the app, but it literally is just those 2 lines of code.
Any help appreciated etc.
Rigsby.