I tried to compile a c++ code but got a fatal error.
I should include net/netdb.h into my directory,but i can't find it anywhere.
is there any website to download net/netdb.h??
Jump to Post
netdb.h is part of the standard Unix (and indeed, Linux and various BSDs). If you're using windows, then you also don't have the library it uses, so even giving you a copy of netdb.h won't help. Windows uses the WinSock networking library instead.
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.