Commit Graph

62 Commits

Author SHA1 Message Date
Michael Graff
d257033612 Thanks to Mark's fix, select() actually wasn't broken, I was. Use NULL for write/except fds again 2000-02-02 00:34:46 +00:00
Mark Andrews
f738cdef3d #include <sys/time.h>
Use LWRES_DEFAULT_TIMEOUT instead of LWRES_R_TIMEOUT to set select timout.
2000-02-01 06:46:47 +00:00
Michael Graff
b91bbaf50c implement timeouts 2000-02-01 02:59:40 +00:00
Michael Graff
1a70537f01 fix a bug introduced with today's changes. 2000-01-25 02:16:00 +00:00
Michael Graff
8cd870e3f5 return LWRES_R_* result codes (all are negative values, otehr than success, which is 0) 2000-01-24 21:57:07 +00:00
Andreas Gustafsson
f2edc636b0 use sendto() instead of send() because the latter is
broken on OSF1
2000-01-24 20:19:13 +00:00
Michael Graff
6448ffb2b9 use unsigned char, not void * in our buffers 2000-01-20 00:11:52 +00:00
Mark Andrews
369083db00 Link get*.c into build
INADDR_LOOPBACK is not defined for all OSs
2000-01-18 05:37:19 +00:00
Michael Graff
c1cfd8ef05 close the socket on context destroy 2000-01-18 01:45:09 +00:00
Michael Graff
7dbf5a0b64 implement actual network I/O for lw resolver. All I/O is run through the
context, where the sockets are cached.  This means one context per thread.
2000-01-18 01:43:12 +00:00
Michael Graff
e4f074a2c2 checkpoint 2000-01-14 21:55:44 +00:00
Michael Graff
64bed6c543 Checkpoint yesterday's work 2000-01-14 17:28:54 +00:00