I am new to ICS. I wish to use the HTTPCli component in a multithreaded 
application to test the response from websites. Any thread within the 
application may use an HTTPCli object to make such a test.

My preferred approach would be: within a thread, create an HTTPCli object 
dynamically using the create method, and set the URL property. Then set 
handlers for onDocData, and onRequestDone and retrieve the page using the 
Get() function. Use an exception handler to trap any problem with Get().

- Do you see any potential problems with this, given that it will occur in a 
multithreaded environment?
- Are there any problems with having multiple HTTPCli objects running in 
multiple threads as described?
- Also, do I need to set the multithreaded property to true?

Thank you in advance for any assistance you can give.


To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to