Skip to content

Arbalest007/Socket-Web-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Patrick Lin pjlin@csu.fullerton.edu

Loc Nguyen lnguy121@csu.fullerton.edu

Saad Ansari saad.ansari@csu.fullerton.com

Socket-Web-Server

Server

Navigate to the folder with the programs.

Start the server with

python3 server.py

The terminal will tell you your IP address and a PORT number.

In the web browser, type the IP address and PORT number with a colon separating them and the html filename that is included.

(10.10.10:1024/HelloWorld.html)

You should receive this on your browser

You will get this if you type the filename wrong

Client

To test the client

Start the server with

python3 server.py

Open another terminal window and run

python3 client.py IP PORT FILENAME

(python3 client.py 10.10.10 1024 HelloWorld.html)

You will receive the server response in the terminal

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •