1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-22 13:00:05 +00:00

Updated Networking library (markdown)

CPunch 2022-09-03 00:49:16 -05:00
parent 9b289be5ab
commit 708f4d0043

@ -2,11 +2,11 @@ Laika has it's own cross-platform networking layer for Windows & Linux environme
## Polling
On Linux, epoll() is used instead of poll() to poll for socket events. The logic for all of this is in `lib/src/lpolllist.c`.
On Linux, epoll() is used instead of poll() to poll for socket events. The logic for all of this is in `lib/src/net/lpolllist.c`.
## Socket abstraction
A thin wrapper library for basic socket operations exists in `lib/src/lsocket.c`. This handles common things like binding, connecting, sending, receiving & accepting connections for both Windows & Linux environments.
A thin wrapper library for basic socket operations exists in `lib/src/net/lsocket.c`. This handles common things like binding, connecting, sending, receiving & accepting connections for both Windows & Linux environments.
## Lightweight encrypted packet protocol