Excuse me, I'm afk for a while => laughingKaeru Gaman wrote:AND talked about OpenNetworkConnection...
how should I know it expects a string? I never used it.

Of course, this topic is about the IP, not about network programming.
But you can just look at the manual, then you would have seen that I'm right.
And yes, in future, you should read each post twice, as I already said that OpenNetworkConnection() expects a string. And if the thread starter talks about his IRC bot and that he needs to connect to the IP returned by our procedure - it's clear that he needs a string.