Results 1 to 26 of 26

Thread: VB - A simple HTTP Web Server (2)

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,802

    VB - A simple HTTP Web Server (2)

    This is an improved version of the server in this thread:
    http://www.vbforums.com/showthread.p...hreadid=237843

    I added a function to list directories and files if the user does not type any file name in the link.

    To make it work, you have to change the LocalPort to whatever port you want the server to listen for connections, and PathShared constant to a valid directory.

    To see it in action, type the local ip then ":" and the local port, for example: http://127.0.0.1:8080
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width