Hi,
I am trying to connect a smartphone using the WAN with an Arduino microcomputer with a WiFi shield. The latter is communicating with a router. The smartphone has a B4a program and should use the G3 network.
In order to connect using forwarding I should give the external IP address followed with "port number". Then the router will connect directly to the WiFi shield.
The connect statement in B4A requires an IP address and a port number. Is that port number used to connect as required? So with : port number.? Or is that port number used by the program itself?
In the latter case how can I connect as required?
Thanks for any help.
Harry
I am trying to connect a smartphone using the WAN with an Arduino microcomputer with a WiFi shield. The latter is communicating with a router. The smartphone has a B4a program and should use the G3 network.
In order to connect using forwarding I should give the external IP address followed with "port number". Then the router will connect directly to the WiFi shield.
The connect statement in B4A requires an IP address and a port number. Is that port number used to connect as required? So with : port number.? Or is that port number used by the program itself?
In the latter case how can I connect as required?
Thanks for any help.
Harry