Skip to content

Latest commit

 

History

History

single-connection-unix-socket-echo-server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Single Connection Unix Socket Echo Server

This is a simple echo server that listens on a Unix domain socket and echos back any data it receives.

Usage

To run the server, follow these steps:

  1. Clone the repository:

    git clone <this repo>
  2. Change into the project directory:

    cd unix-socket-echo-server
  3. Build server and client:

    make
  4. Run the server a terminal:

    ./server
  5. In another terminal, run the client:

    ./client
  6. Type a message in the client terminal and press enter. The server will echo the message back to the client.