eddys_snippets/Socket_snippet
2022-05-16 17:37:01 +03:00
..
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00
2022-03-11 17:01:59 +03:00

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