Skip to content

garagelabbelgrade/gl-udp-test-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gl-udp-test-echo-server

NodeJS UDP echo server

A simple node script to demonstrate how to echo a UDP message using dgram.

Prerequisites

WARNING

This code is for demo (educational) purpose only! It is not production-ready, performance optimized or intended to be used as seed project. Use at your own risk

Quickstart

Run simple echo demo:

  • Edit sourcecode to set server's IP address and port:
let PORT = 2222; // this will be server's port
let HOST = '0.0.0.0';  // bind to this host; set to 0.0.0.0 for all IPv4 addresses(gateways), or to a specific IP (local)
  • Run file as node script

_

Made with ❤️ by the GarageLab Belgrade team using vscode ©️ 2019

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published