As the title says. Is there some way to get a server's IP (and Port) of an open connection? I found this function
unsigned int (*getServerConnectInfo)(uint64 scHandlerID, char* host, unsigned short* port, char* password, size_t maxLen);
but it returns ERROR_undefined everytime I try use it so it'd be nice to have a short explaination on how to use it. Oh, is this even the right function?