Skip to content

Experimentation in using socket.io and making a HTTP requests to pass information around the web directly from client to client as opposed to having a server to pass information through

Notifications You must be signed in to change notification settings

Taggagii/ClientChatInteraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Contained are two files, the point is to put one file on one computer / network, and the other on a different one.

Then modify both their 'config' files and place their hosting URL under HOME and the other computer's URL under COMMUNICATION. the PORT is the port you'll host on locally.

During testing I used Ngrok to host on both computers. This allows you to host completely for free without the need of a static IP address. To do this, enter the port (8000, 8080, etc) then setup ngrok hosting on that port. Once this is completed put the ngrok link in HOME and the other host under COMMUNICATION. At this point you should be able to open the browser and see the chat and communicate with the other computr

NOTE: Github add's a line to "messages.json" file, remove this newline if you try to run and get something like "SyntaxError: Unexpected end of JSON input". I'll fix this soon

About

Experimentation in using socket.io and making a HTTP requests to pass information around the web directly from client to client as opposed to having a server to pass information through

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published