StackOverflow Questions for Tag: hostent

Stefan Andrei Ghiță
Stefan Andrei Ghiță

Reputation: 56

trying to use 'struct hostnet' from netdb.h, but it's saying 'invalid use of undefined type

Score: 0

Views: 79

Answers: 0

Read More
wangshuaijie
wangshuaijie

Reputation: 1931

Does struct hostent have a field "h_addr"?

Score: 24

Views: 29920

Answers: 4

Read More
Dawson Binder
Dawson Binder

Reputation: 25

Loop to get multiple entries in host, network, protocol, and service database

Score: 1

Views: 136

Answers: 1

Read More
Loperena
Loperena

Reputation: 11

Memcpy and hostent struct on C

Score: 1

Views: 5105

Answers: 0

Read More
Nicholas Terry
Nicholas Terry

Reputation: 1920

Issues with 'operator=' and sockaddr members

Score: 0

Views: 2098

Answers: 3

Read More
user2272088
user2272088

Reputation: 1

Hostent returning null from char* . Works with hardcoded address

Score: 0

Views: 92

Answers: 0

Read More
Alex Bacon
Alex Bacon

Reputation: 13

Failing with gethost() (use Net::hostent)

Score: 1

Views: 730

Answers: 2

Read More
porque_no_les_deux
porque_no_les_deux

Reputation: 479

Why does this hostent cause a segfault?

Score: 0

Views: 341

Answers: 1

Read More
Robert
Robert

Reputation: 878

Is gethostbyname guaranteed to return hostent structures with IPv4 addresses?

Score: 1

Views: 2314

Answers: 2

Read More
Biranchi
Biranchi

Reputation: 16327

Segmentation fault when looking up host name and IP address

Score: 6

Views: 4797

Answers: 5

Read More
PreviousPage 1Next