mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
12 lines
182 B
C
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 );
|