by stegasaurus (2 Submissions)
Category: Internet/HTML
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (10 Votes)
This code is a (near complete) HTTP server coded entirely in Visual Basic. By default it will run on port 80. Uses the winsock control and can accept multiple connections on a single port. (as many as your RAM permits up to 32768) Also has a pretty good (with colour coding) output screen so you can tell what is going on, and watch connections to the server. This project is intended for anyone who wants to use VB to develop their own customised web server, tailored to their needs -- but is quite versatile, so any programmer who understands a few basics can use this code. This is my first code upload in a while, and i'm after comments more than votes so please post feedback so I can improve the code. (note: documentation included in download)
Inputs
Needs files to share to be of any real use :-) Has the documentation in that folder by default. Also needs input from the user in the browser... clicking links mainly.
Assumes
Basic knowledge of winsock is assumed (and well... I mean basic), knowledge of HTTP protocol is useful to if you plan on developing this further.
Code Returns
Returns a HTML page or file to the user who requested it, it's that easy :-)
Side Effects
May not work without some configuration outside of your local network if you are behind a proxy.
Download An easy HTTP server in Visual Basic Does not require installation (25 KB)
No comments have been posted about An easy HTTP server in Visual Basic Does not require installation. Why not be the first to post a comment about An easy HTTP server in Visual Basic Does not require installation.