libjapi  0.3.2
Universal JSON API Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
networking.h
Go to the documentation of this file.
1 
34 #ifndef __NETWORKING_H__
35 #define __NETWORKING_H__
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
52 int tcp_start_server(const char* port);
53 
65 int tcp4_start_server(const char* port);
66 
78 int tcp6_start_server(const char* port);
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* __NETWORKING_H__ */
85 
int tcp6_start_server(const char *port)
Start a new TCP server using IPv6.
Definition: networking.c:114
int tcp_start_server(const char *port)
Start a new TCP server.
Definition: networking.c:104
int tcp4_start_server(const char *port)
Start a new TCP server using IPv4.
Definition: networking.c:109