Hello, I need to check if a port is open to wan or not, for a P2P messenger I am developing, I was able to write up a small snipplet of code that should work, but seems to always return 1 even if the port is not open over WAN(forwarded).
Anyone take a gander at what I'm doing wrong?
Anyone take a gander at what I'm doing wrong?