add socket snippet

This commit is contained in:
2022-03-11 17:01:59 +03:00
parent 0da6bce6e9
commit 76a1ec0e81
21 changed files with 1071 additions and 0 deletions

7
Socket_snippet/Readme.md Normal file
View File

@@ -0,0 +1,7 @@
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`