mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2025-02-02 15:07:47 -05:00
Don't needlessly call getsockopt() all the time (it's a system call, hence expensive) svn path=/trunk/net/; revision=3735
This is a name resolving library that's threadsafe. Right now it only implements this with mutexes, but we should extend it to use gethostbyXXXX_r() if it's available. It shoudl work on win32, but i'm probably forgetting a headerfile. API is basically not going to change. Please consult with the rest of the team before changing the interface. jack.