PDA

Click to See Complete Forum and Search --> : WebServer <> WebBrowser Communication


Gunship
Sep 20th, 2000, 05:33 AM
Hi,


im developing my own webserver with VB.

Im using the winsock control to manage the network connection and simply pass some text on a connect event back.

This works fine, and the webbrowser shows the html text code i transferred, but it never finishes loading the page.

can somebody of you help me get the info about what a webserver wants?

As soon as the browser connects, i get the following info to the server:

GET / HTTP/1.0
Host: 9.13.63.48:4444
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Encoding: gzip
Accept-Language: en
Accept-Charset: iso-8859-1,*,utf-8
Via: HTTP/1.0 proxy.proxy.com (BLA-WTE)
User-Agent: Mozilla/4.51 [en] (Win95; I)

Does anybody know what i have to send back, and in which format?


Thanks in advance

Roman

Jeroen Vreuls
Sep 23rd, 2000, 09:27 AM
Hello,

Read the RFC 1945 from http://www.rfc-editor.org/

You can find the protocol standards for HTTP/1.0 here.