我写了一段程序
struct hostent FAR *remoteHostent=(struct hostent*)malloc( sizeof(struct hostent ));
WORD wSocketVersion;
WSADATA wsaData;

wSocketVersion = MAKEWORD( 1, 1 );
WSAStartup( wSocketVersion, &wsaData );
remoteHostent=gethostbyname("localhost");
...
我得到了remoteHostent,但是要怎么才能得到如"192.168.0.1"格式的地址???