Retrieves a client's IP address.
bool GetClientIP(int client, char ip, int maxlen, bool remport)
Buffer to store the client's ip address.
Maximum length of string buffer (includes NULL terminator).
Remove client's port from the ip string (true by default).
True on success, false otherwise.
If the client is not connected or the index is invalid.