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

Reply via email to