Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Simple echo server implementation.

Prerequisites

  • .NET SDK 8.0+ installed
  • A terminal that supports multiple tabs

How to run

  1. Open terminal tab (TAB 1) for server. From the project root run:
dotnet build
  1. Now in same tab (TAB 1), run:
dotnet run

You should now see output like:

Listening on X*
Listening on X*
Server running. Press Ctrl+C to stop.

*where X the server machines own IP addresses (one line per address)

  1. Run clilents in separate tabs (TAB 2, TAB 3...) Using netcat ncat/ nc installed:
nc localhost 7007
  1. Type text and press Enter (TAB 2, TAB 3...). The server echoes the same text back.

About

Simple echo server implementation. Done as a coding challenge from codingchallenges.fyi.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages