firstworks Programming with Rudiments using the inetsocketserver class

Programming with Rudiments using the inetsocketserver class

Daemons are commonly used to serve data to clients over a network. This can be done using the inetsocketserver class. The example below listens on an inet socket for a client connection, receives a string from the client and writes the same string back to the client.

Coming soon...

> int main(int argc, const char **argv) {
> // FIXME: example...
> }

See the inetsocketclient example for a client that can communicate with this server.