netradiant-custom/radiant/sockets.h
2021-10-22 02:19:50 +03:00

12 lines
182 B
C

#pragma once
#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 );