firstworks Programming with Rudiments using the unixsocketclient class

Programming with Rudiments using the unixsocketclient class

Here's the code for a client that can communicate with the unixsocketserver program. This client sends a string to the server, reads what the server sends back and prints it out.

Coming soon...

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

Unix sockets allow clients and servers on the same machine to communicate. See the inetsocketserver and inetsocketclient examples for clients and servers that can communcate across a network.