VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

An easy HTTP server in Visual Basic Does not require installation

stegasaurus  (2 Submissions)   Internet/HTML   Intermediate   Wed 3rd February 2021

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.

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.

Rate An easy HTTP server in Visual Basic Does not require installation (11(11 Vote))

Download An easy HTTP server in Visual Basic Does not require installation

An easy HTTP server in Visual Basic Does not require installation Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters