Using GetAsync and simultaneous download (one download per component instance) doesn't change anything.
-- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Monday, August 11, 2008 8:49 PM Subject: Re: [twsocket] THttpCli simultaneous > So I should issue GetAsync and handle RcvdStream in the OnDocData event, > correct? > > > ----- Original Message ----- > From: "Francois Piette" > To: "ICS support mailing" > Subject: Re: [twsocket] THttpCli simultaneous > Date: Mon, 11 Aug 2008 11:56:42 +0200 > > > > I'd like to use THttpCli to do multiple simultaneous "GET" requests > of > > different websites. All of the retrieved HTML documents need to be > saved > > to the harddrive. > > When dynamically creating each of the THttpCli components, should I > issue > > "GetAsync" and write the data to disk in the OnDocData event? Or, > should > > I just create a file stream with RcvdStream and issue a normal > "Get"? > > GetAsync is the way to go. You can use RcvdStream with GetAsync. Be > sure to > use a different stream for each component ! > > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > -- > Be Yourself @ mail.com! > Choose From 200+ Email Addresses > Get a Free Account at www.mail.com > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be