jeudi 29 janvier 2015

How to convert struct addrinfo return by getaddrinfo() to struct hostent?


I am using getaddrinfo() in Linux. And I want to convert struct addrinfo return by it to struct hostent for my current requirement.


Can Anyone suggest how to achieve this?





Aucun commentaire:

Enregistrer un commentaire