gtkradiant/radiant/sockets.h
spog 3591d7dc01 portability fixes
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@59 8a3a26a2-13c4-0310-b231-cf6edde360e5
2006-05-09 20:51:34 +00:00

14 lines
235 B
C

#if !defined(INCLUDED_SOCKETS_H)
#define INCLUDED_SOCKETS_H
#include "l_net/l_net.h"
// waits for a socket to become ready
// returns
// -1: error
// 0: timeout
// 1: ready
int Net_Wait(socket_t *sock, long sec, long usec);
#endif