Computing.Net > Forums > Programming > Web Server in Visual Basic

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Web Server in Visual Basic

Reply to Message Icon

Original Message
Name: jam14online
Date: June 4, 2004 at 06:44:58 Pacific
Subject: Web Server in Visual Basic
OS: XP Pro SP1a
CPU/Ram: 3200+/256MB DDR
Comment:

Hi,

I know there are many different web servers out there. The best open source one is, of course, Apache and I like using a variety of freeware servers for Windows. However, I am interested in programming a simple web server in Visual Basic.

I know Visual Basic produces quite bloated code, say, in comparison to x86 assembly (lol), but I find this the easiest language to code Windows GUI applications with.

I've thought about it and I've figured that I need to use the Winsock control and listen on port 80 for requests. I think all it needs to be able to do is the /GET command for now but I'm unsure when it comes to MIME types. In fact, I don't really have any idea what they mean...

So, does anyone know how I could program a simple web server that serves static HTML pages (for now) and other file types?

Thanks in advance,


James



Report Offensive Message For Removal








Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software