mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2025-12-06 10:45:12 +03:00
7 lines
301 B
Markdown
7 lines
301 B
Markdown
Socket server and client snippet
|
|
================================
|
|
|
|
This snippet allows to create some utilities than can be run both in client or server mode.
|
|
The sockets are **local** TCP or UNIX sockets. Server-side polling use `poll()`.
|
|
|
|
The pieces of user code may be in comments marked `USERCODE` |