VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



WinSock + ADO + String + Logic = Web Server

by Broken Arrow (11 Submissions)
Category: Complete Applications
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)

Learn managing simultenous WinSock connections, ADO connectivity and Moduler coding with a sample Web Server project.
Simple web server supporting unlimited domains and redirections with default document!
I know there has been a lot web servers on VBC. Still I decided to make it up within 2 hours and submit for those who wants to learn WinSock handling, simple string manipulation, logic implementation & ADO connectivity. All these are done in moduler manner so code always remains reusable anyway!
This server can host unlimited number of domains with default document supprt. As these are being controlled with database backend, you can do anything like implementing bandwidth throttle like GeoCities or IIS, implementing site statistics like GeoCities, etc.
Only bug I was tired to fix up is that the server loses the relative path if the URL is not ended with a '/' or no document is specified. I mean 'https://YourServer/www.YourSite.com' would return the site but relative paths will be messed up. It is okay if you use 'https://YourServer/www.YourSite.com/' or 'https://YourServer/www.YourSite.com/Index.htm'.
Possible
implementation could be many. I downloded the whole www.PHP.Net with Offline Navigator and hosted on my machine with this little server. I now just have to open my web browser to get help while I work on PHP! IIS or other hitech web servers would cost you more power, resource & management skill!
It doesn't support server side scripting.

Rate WinSock + ADO + String + Logic = Web Server

Download WinSock + ADO + String + Logic = Web Server

Download WinSock + ADO + String + Logic = Web Server (29 KB)

WinSock + ADO + String + Logic = Web Server Comments

No comments have been posted about WinSock + ADO + String + Logic = Web Server. Why not be the first to post a comment about WinSock + ADO + String + Logic = Web Server.

Post your comment

Subject:
Message:
0/1000 characters