Skip to content

sjg/rses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Really Simple Echo Server

As the title says, this code implements a really simple TCP echo server running on ports 3000 for sending and
3001 for listen. Written in Node.js in about 10 minutes

  • To Run
    node echoserver.js
  • Add your IP Address to the allow list
    echo “127.0.0.1” >> iplist
  • To Test
    Open 2 terminal windows, use nc to connect to the ports:
    nc localhost 3000
    nc localhost 3001

What you type in window 1 wil be written out on terminal 2

Enjoy everyone :)

About

Really Simple Echo Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published