~donmcc/ood

ref: 1182412fd4ece0cb55c4b3ebefee78b22c8c15bd ood/src/libood/ood/socket.h -rw-r--r-- 307 bytes
1182412fDon McCaughey Add `ood_halt()` function. 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef OOD_SOCKET_H_INCLUDED
#define OOD_SOCKET_H_INCLUDED


#include "ood/result.h"


enum ood_result
ood_socket_set_blocking(int fd);

enum ood_result
ood_socket_set_non_blocking(int fd);

enum ood_result
ood_socket_set_reuse_address(int fd);

enum ood_result
ood_socket_set_reuse_port(int fd);


#endif