Marcelo Grossi wrote:
>     MethodName and MethodNameAsync have always the same difference.
> The first is a blocking procedure, the other one is not, wich means
> it uses its own Thread to do the processing.

Asynchron behaviour is not achieved by using any additional thread!!
Instead ICS uses non blocking winsock API in combination with window
messages.

> 
>     When using Post you will only be able to execute the next line of
> code (after Post) when the Post is actually completed. While in
> PostAsync you will get the processing back almost instantly after the
> PostAsync command. 

That's correct :-)

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

 
> Marcelo Grossi
> 
> ----- Original Message -----
> From: "Mohit Sindhwani" <[EMAIL PROTECTED]>
> To: "ICS support mailing" <twsocket@elists.org>
> Sent: Wednesday, August 30, 2006 12:38 PM
> Subject: [twsocket] Documentation? (was - Re: POSTing images to a
> server) 
> 
> 
>> Hi, I'm looking at the source code for the example below, and just
>> realized that there isn't a help file for the ICS.  Is there any
>> documentation reference that I could look at?
>> 
>> I'm trying to understand, for example, the difference between Post
>> and PostAsync and when to use which one.
>> 
>> Thanks,
>> Mohit.
>> 
>> 
>> Arno Garrels wrote:
>>> Mohit Sindhwani wrote:
>>> 
>>>> The basic POST works now - I can submit data to a form.  But, I
>>>> can't begin to get my head around the things involved in posting
>>>> images to the application.  I understand that I need to post it as
>>>> a multi-part form with a suitable separator for the parts, then
>>>> set the correct MIME type and content type, and encode the data.
>>>> 
>>>> Has anyone tried this?  Is there some sample that I could refer to?
>>>> (I'm using BC++ Builder 5 right now)
>>>> 
>>> 
>>> If think there's an example written in Delphi on the User Made page
>>> on the ICS homepage, search for HTTPCLIEXAMPLE.ZIP.
>>> 
>>> ---
>>> Arno Garrels [TeamICS]
>>> http://www.overbyte.be/eng/overbyte/teamics.html
>>> 
>>> 
>> 
>> --
>> 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
-- 
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