unix_sockets_basics

A minimalist socket-based client/server in Rust to illustrate a tutorial

Stars
10

The basics of unix sockets

This repository serves as a reference for this tutorial blogpost

How to run

Install Rust and Cargo, and then do:

cargo run --bin server

And in a separate terminal, run the client:

cargo run --bin client

If all is well,

  • the hello message should display on the server side
  • the "I hear you" response should display on the client side

You can run the client as many times as you want, since the server runs in a loop.