mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-27 06:02:29 +00:00
15 lines
235 B
C
15 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
|