I never stated that the port is set in the wifi settings. When connecting to a TCP server, which is also an access point, the port needs to be specified in socket.connect. Is there a way, when connected to a TCP server, which is also an access point, to read what port the TCP server/access point is connected to? There's apps that already do it, like Fing, but I can't figure out how to do it with B4i.
If not, I can do this another way. Is there a way to read the access point name in B4i?