1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2025-02-02 15:07:47 -05:00
Karl Heyes 265752a303 make sure sock_connected does not block with timeout 0, use -1
for that, also handle the sock_connected return values properly
in the case of timeout.

svn path=/icecast/trunk/net/; revision=7349
2004-07-26 16:03:52 +00:00
..
2001-09-10 02:24:39 +00:00
2001-09-10 02:24:39 +00:00
2001-09-10 02:24:39 +00:00
2001-09-10 02:24:39 +00:00

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.