Skip to content

Innovic-io/nodejs-tcp-server-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS TSP Server Client communication

Showcase of TCP ( server to client ) communication implemented in NodeJS programming language. Example application consists of Server script and client script, both of which run separately.

Upon connecting to a server the user is prompted to enter the name of a city. If the city exists the app returns its current weather and temperature.

How To Use it

First, we need to create TCP Server:

npm run server

Than we can connect to Server using Client script.

npm run client

Or you can connect using telnet with:

telnet localhost 8215

Server is bound to all network interfaces, and therefore available to every computer on network.

Net NodeJS

About

TCP server - client communication implemented in NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published