Results 1 to 11 of 11

Thread: HTTP server, started, need cooworkers.. please read.

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15

    Arrow HTTP server, started, need cooworkers.. please read.

    I've started an HTTP server in Visual Basic. So far it is able to send a user a pure text html page(no graphics), lets you open any page in any sub dir, shows a 404 error if the page doesn't exist, and lots of other little things.

    I'm am very happy with the results but need some help so we can get the thing done. I need 1 or 2 cooworkers to help me with the project.

    If you don't know what an HTTP server is, I'll explain.... everytime you go to a website, the computer that holds the website will intersept your call, get some info about your browser, and send you the default page or the page you request. So you put your website in a folder and people from the internet are able to use it In a way.

    Thanx for your time,
    .-.Dj Ziouzine.-.

  2. #2

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15

    Update...

    An update, now any file can be sent... pictres, zips... So it's complete exept for directory browsing... You are able to do client side scripting like javascript and vbscript and flash. Nothing serverside exept html itself.

    Still need helpers...

    I am also thinking about making my own language in it like php for instanse but different. Not as advanced as php tho.

    Beta out soon, maybe even tomorrow

    Cya'll
    .-.Dj Ziouzine.-.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15
    It now is able to run php scripts! The are still a few bugs to work out but other then that, it works!
    .-.Dj Ziouzine.-.

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15
    And yet still no response
    .-.Dj Ziouzine.-.

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15
    Php code is now almost complitelly bug free. I rewrote most of it, before I had a one second delay for it to work and do it's thing, now there's no need to do it with the new setup so there's no delay and it works instantly!

    Also speed check : same file, after download speed.
    Results: Apache web server 62.3 ; Ziouzine HTTP 62.1

    That is based on one server so it might not actually be like this but, in this one-trial test, it beat apache!
    .-.Dj Ziouzine.-.

  6. #6
    Member piyushpatel's Avatar
    Join Date
    Dec 2001
    Location
    A'bad,India
    Posts
    55
    Hi....
    I appriciate ur work..
    but i have nt done this before...
    But will to work...if u help me...
    i can say i am good in VB....
    doing freelancing work...
    contact me on [email protected]

  7. #7
    Junior Member Si_Bateson's Avatar
    Join Date
    Jan 2001
    Location
    East Yorkshire, England
    Posts
    22
    ill help what do you want me to work on........

    you could get it to work like apache and send a file the user specifies on a 404 error.....

    pls e-mail the source so i can have a quick look at it

    [email protected] zip it first
    Simon Bateson
    [email protected]

  8. #8
    Junior Member Si_Bateson's Avatar
    Join Date
    Jan 2001
    Location
    East Yorkshire, England
    Posts
    22
    this link is to the HTTP request For Comment document on HTTP 1.1

    http://www.w3.org/Protocols/rfc2616/rfc2616.html

    I would realy like to help on this ...........
    Simon Bateson
    [email protected]

  9. #9
    Member
    Join Date
    Oct 2000
    Location
    Aiken, SC
    Posts
    36

    Awesome, I think this means you are now a guru.

    Hey,

    I am interested in how you did or are going to manage cin and cout in VB, I wrote a HTTP server in about 20 hours of work a few weeks ago for a project at work. Then we didn't use it, lol. Anyways, if you want, I can send you my source granted it isn't very good, since the server was going to be deployed as part of an app, running on an odd ball port, It has no support for 404 errors, or 500. Just serves pages, What did you use to return the correct MIME type? An array, or a file, db? what?

    Awesome work, I am interested in seeing the finished product.

    Joey
    You have no idea how many idiots there are among us.

    Winsock is awesome!
    If you are reading this, your a geek, just face it.

  10. #10
    Lively Member
    Join Date
    Nov 2001
    Location
    maryland (it sucks)
    Posts
    124

    I'll help!

    Hey, I'll help. I'm assuming you're using the Internet Transfer Control, and I have a little experience. Plus It'd be awesome to learn some new stuff. Email at [email protected] or pm me if you need help!

    Ryan

  11. #11
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    www.alexdata.com
    Posts
    484

    Talking I am currently working on HTTP servers...Wanna get along with you (or you with me)

    I need some understanding about the part when it comes to sending the client info..

    I get them to connect ..then explorer sends its GET requst..(and i can send back some html immedately) but i cannot respond to the GET request..

    Would you mind posting some code for the CONNECTION part..
    I mean DATAARRIVAL and RequestConnect..

    PLEASE !!!

    also read my posts at:

    http://www.vbforums.com/showthread.p...931#post930931

    http://www.vbforums.com/showthread.p...hreadid=161669

    http://www.vbforums.com/showthread.p...862#post930862
    ***************
    Please use [highlight=vb] ..your code.. [/highlight] when posting code!

    When you have received the working answer to your question,
    please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.


    Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...

    Please Answer All Questions With Working Code Examples...


    My Unfinished Projects and My working Programs
    ***************

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