Article View: borland.public.cppbuilder.internet.socket
Article #5465Re: EidConnClosedGracefully
From: Remy Lebeau
Date: Wed, 15 Sep 2004 19:49
Date: Wed, 15 Sep 2004 19:49
30 lines
1837 bytes
1837 bytes
"Ben" <bencollins_2000@yaho.com> wrote in message news:<41482f89@newsgroups.borland.com>... > I'm using the TIdHTTP class and everything in my > code looks fine but I keep encountering the > EidConnClosedGracefully exception. Then you are probably doing something wrong in your code to begin with. The only way that exception occurs is when the server terminates the connection while the client is still using the socket. > I'm setting HTTP->Request->ContentType = "multipart/form-data"; > > and using the HTTP->Post(url, strList) method to send things out You should not be using a string list to send "form-data" values. Look at the TIdMultiPartFormDataStream class instead. > where url is a string containing the url and strlist > contains the correctly formatted message. Please show your actual code. > I haven't found any documentation on the TidHTTP > class, is there any about?? Did you look in Indy's help file yet? Did you download the help file from Indy;s website yet? Gambit
Technical Details
Message-ID:
<20e33bb0.0409151149.4e012c35@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mailReferences:
<41482f89@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,1d3572882c95b128 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail From: gambit47@yahoo.com (Remy Lebeau) Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: EidConnClosedGracefully Date: 15 Sep 2004 12:49:28 -0700 Organization: http://groups.google.com Lines: 30 Message-ID: <20e33bb0.0409151149.4e012c35@posting.google.com> References: <41482f89@newsgroups.borland.com> NNTP-Posting-Host: 216.2.30.125 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095277769 981 127.0.0.1 (15 Sep 2004 19:49:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 15 Sep 2004 19:49:29 +0000 (UTC)