Skip to content

saitronkarthi/Multithreaded-Webserver-and-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded-Webserver-and-Client

Environment

  1. Python 2.7.10
  2. Mozilla firefox 41.0.2
  3. Windows command prompt
  4. 8080 is the default port Files
  5. webserver.py (Server code)
  6. client.py(Client side code)
  7. test.html (used as the test file)
  8. All the files are in the same folder Running webserver.py on command prompt
  9. webserver.py <port_no> (In the localhost ip creates the <port_no> & listens for clients)
  10. webserver.py (In the localhost ip creates the 8080 as default port & listens for clients) Running webserver.py on phyton IDE
  11. On Python 2.7.10 IDE -> open module->f5 or run Testing in browser
  12. http://127.0.0.1:8080/test.html
  13. http://localhost:8080/test.html
  14. If file name is different 404 is sent Running client.py on command prompt
  15. client.py 127.0.0.1 test.html
  16. client.py localhost test.html
  17. client.py localhost test.html
  18. wrong file name gives a 404
  19. wrong port number raises an error

About

Multithreaded Socket programming in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages