mirror of
				https://github.com/CPunch/Laika.git
				synced 2025-10-31 02:20:21 +00:00 
			
		
		
		
	Updated Networking library (markdown)
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user