Android Question IP or also DynDns

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Helo,
is this following code only for IP or can I use it also for DynDns if I.want connect over internet.?
B4X:
Public Sub ConnectToServer(Host As String)
   Log("Trying to connect to: " & Host)
   CloseExistingConnection
   Dim client As Socket
   client.Initialize("client")
   client.Connect(Host, PORT, 10000)
End Sub
 
Top