Question
Installing Node.js and Socket.io II. Building client side a. Create an html page i. Area to write servers messages ii. Area to input and send
Installing Node.js and Socket.io II. Building client side a. Create an html page i. Area to write servers messages ii. Area to input and send new messages iii. Optional: area to handle file uploads III. Building server side a. creating http server b. serving website files IV. Linking Client and Server 1. Add JavaScript to handle html events at Client side i. Connect to the Socket.io server ii. Send and receive socket.io messages iii. Optional: Send and receive files 2. handling socket.io events at Server side i. handle receiving of text messages ii. Optional: create FTP server or file handling events in socket.io (must send links to uploaded files to all clients) V. Testing 1. Run the server on localhosts 2. Connect to the server from multiple web browser tabs 3. Test sending and receiving messages between tabs 4. Test uploading and downloading files between tabs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started