>I assume there are thread safe versions kicking around somewhere too, but >I've never used them so don't know how they work (do they alloc the struct >and return it, or just use TLS?). The newer interfaces return a malloc'd struct; you free it with freehostent(). p. - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED]
- gethostbyname() - free memory again ? Jakob �stergaard
- Re: gethostbyname() - free memory again ? Steve Dodd
- Re: gethostbyname() - free memory again ? Philip Blundell
- Re: gethostbyname() - free memory again ? Jakob �stergaard
- Re: gethostbyname() - free memory again ? Glynn Clements
