Skip to content

devalimotahari/node-socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-socket

simple nodejs socket.io to chat and upload file.

install dependecies

npm install

run server

npm run server

run client

npm run client {user name}

e.g.

npm run client ali
npm run client amir

send message:

absolutely send your message in command line when client was connected.

send file

when client running, in client command:\

sfile:{filename}

e.g.

sfile:text.txt

get file

when client running, in client command:\

gfile:{filename}

e.g.

gfile:text.txt

for exit, type:

exit()

About

nodejs socket io chat and file uploader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published