Local Sockets.
More...
Local Sockets.
Local Sockets are similar to UNIX domain sockets, they allow local communication on the host in a server-client manner.
◆ LOCAL_BUFFER_SIZE
The size of local sockets buffer.
Definition at line 26 of file local.h.
◆ LOCAL_MAX_BACKLOG
| #define LOCAL_MAX_BACKLOG 128 |
The maximum backlog of connections for a local listener.
Definition at line 36 of file local.h.
◆ LOCAL_MAX_PACKET_SIZE
The maximum size of a packet allowed to be sent/received via local sockets.
Definition at line 31 of file local.h.
◆ LOCAL_PACKET_MAGIC
| #define LOCAL_PACKET_MAGIC 0xC0D74B56 |
Magic number for local socket packets, used for validation.
Definition at line 41 of file local.h.
◆ net_local_init()
| void net_local_init |
( |
void |
| ) |
|