I´am begginer in c++ and I would like to learn about socket connections. I have a problem with this: inet_ntoa(*(in_addr *)H->h_addr). I know how to work around (so-so). But I don´t know, what is mean to individual (*(in_addr *)).
Can some body explain this parameters?
And one question yet: Which book about c++ do you recommend me?
I was read it, and I can working with pointers, but i don´t know about transmission parameters and convertatiton type to structure format. inet_ntoa(*(in_addr *)H->h_addr)..... H is instance of hostent structure and h_addr is item of hostent. But why convert to pointer of structure in_addr?????