Skip to content

Instantly share code, notes, and snippets.

@staltz
staltz / introrx.md
Last active May 13, 2024 09:59
The introduction to Reactive Programming you've been missing
@Alexey-N-Chernyshov
Alexey-N-Chernyshov / client.c
Last active April 22, 2024 09:41
Example of client/server with select().
// Simple example of client.
// Client prints received messages to stdout and sends from stdin.
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <sys/select.h>
#include <netinet/in.h>