added OS-specific function to make a file descriptor/socket non-blocking
authorBernd Petrovitsch <bernd@firmix.at>
Sun, 16 Nov 2008 18:11:56 +0000 (19:11 +0100)
committerBernd Petrovitsch <bernd@firmix.at>
Sun, 16 Nov 2008 18:11:56 +0000 (19:11 +0100)
commitd1c2d9e30fffc3dce76f4842168d817de4a4843d
tree95ecd8aaf881def9a9a5acbc88a7a35b6ec12529
parent8b92c3a0b11194d6c94ec9de0778bb54ab095364
added OS-specific function to make a file descriptor/socket non-blocking

We have this in various places and Win32 is +completely different anyways.
So add a separate function and use it.
lib/arprefresh/src/olsrd_arprefresh.c
lib/txtinfo/src/olsrd_txtinfo.c
src/bsd/net.c
src/linux/net.c
src/main.c
src/misc.h
src/unix/misc.c
src/win32/misc.c