Helo,
is this following code only for IP or can I use it also for DynDns if I.want connect over internet.?
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