/node-socket

nodejs socket io chat and file uploader

Primary LanguageJavaScript

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()