Page 1 of 1

OpenNetworkConnection() connects with local server if host name is blank

Posted: Sun Jun 02, 2024 10:58 am
by PBJim
OpenNetworkConnection("", port) with blank host parameter makes a connection with the local server but the documentation doesn't mention this behaviour. I have only tried this with Windows 64-bit PB 6.00.
The server to connect to. This can be an IP address or a full name (ie: "127.0.0.1" or "ftp.home.net").
https://www.purebasic.com/documentation ... ction.html