blob: 7eb04deae862fe72b014e4011af4a3ff0c3f048e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* BSD-2-Clause license
*
* Copyright (c) 2018-2023 NST <www.newinfosec.ru>, sss <sss at dark-alexandr dot net>.
*
*/
#pragma once
void socket_make_non_block(int sock);
int create_listen_socket_tcp(uint32_t port);
int create_listen_socket_unix(const char *path);
int accept_new_connection(int socket);
|