GetIP 126 Sock.cpp if((len = this->GetIP(server_name, ip.GetBuffer(20))) == 0) GetIP 24 Sock.h int GetIP(LPCTSTR addr, LPSTR ip);