HI all.

I am wanting to do the following.

I have a server that I will send an HTTP request to on a specific port, i.e.
http://127.0.0.1:8888/

When this happens, I want to pass back some HTTP Headers and some HTML code
(prob. just hello at this stage).
Now I have written a wee server that works, BUT when I try to send the HTTP
headers out the socket that is connected, it doesn't seem to come back to
the browser.

I am using the internet comps. that come with Delphi 4, (the server one) and
doing Socket.SendBuf()
But is this sendbuf() the right way to send it back ?
Shoudl it be text or a stream ??

Can anyone help ?? even provide some source to point me in the right
direction ??

Cheers,

Jeremy Coulter
Application Developer

Application Development Centre
Compaq Computer New Zealand Ltd.

Phone:  64 3 371 5724
Fax:            64 3 371 5724
Mobile:       64 0212533214
E-mail: [EMAIL PROTECTED]       
Personal Email: [EMAIL PROTECTED]


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to