2d24339421
unstable: discovering
16 lines
327 B
C++
16 lines
327 B
C++
#ifndef EMGAUWA_CORE_HELPERS_H
|
|
#define EMGAUWA_CORE_HELPERS_H
|
|
|
|
namespace helpers
|
|
{
|
|
int
|
|
bind_tcp_server(const char *addr, const char *port, int max_client_backlog);
|
|
|
|
int
|
|
get_server_port(int fd);
|
|
|
|
int
|
|
send_udp_broadcast(const char *addr, int port, const char* message);
|
|
}
|
|
|
|
#endif //EMGAUWA_CORE_HELPERS_H
|