Article View: borland.public.cppbuilder.internet.socket
Article #3025Re: TWinSocketStream and threading
From: Remy Lebeau (TeamB)
Date: Wed, 21 Dec 2005 18:24
Date: Wed, 21 Dec 2005 18:24
22 lines
1832 bytes
1832 bytes
"Maurice Anderson" <mauriceanderson@hotmail.com> wrote in message
news:43a91921$1@newsgroups.borland.com...
> how could I send a simple PUT command with HTTP using TWinSocketStream?
HTTP is a complex protocol to implement manually. I strongly suggest that
you switch over to a real HTTP component, such as the HTTP client in either
Indy (http://www.indyproject.org) or ICS (http://www.overbyte.be).
> I have been looking around on the web but it's still not clear to me.
Did you try reading the official specifications for the HTTP protocol yet?
Hypertext Transfer Protocol - HTTP/1.0
http://www.ietf.org/rfc/rfc1945.txt
Hypertext Transfer Protocol - HTTP/1.1
http://www.ietf.org/rfc/rfc2616.txt
Gambit
Technical Details
Message-ID:
<43a99db4@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43a738ea$1@newsgroups.borland.com> <43a75019$1@newsgroups.borland.com> <43a7619b$1@newsgroups.borland.com> <43a77b12$1@newsgroups.borland.com> <43a91921$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,75fde898af9e336 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <43a738ea$1@newsgroups.borland.com> <43a75019$1@newsgroups.borland.com> <43a7619b$1@newsgroups.borland.com> <43a77b12$1@newsgroups.borland.com> <43a91921$1@newsgroups.borland.com> Subject: Re: TWinSocketStream and threading Date: Wed, 21 Dec 2005 10:24:46 -0800 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43a99db4@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135189428 68.69.17.41 (21 Dec 2005 10:23:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail