How do I work in blocking mode?
Dnia 29 sierpnia 2008 23:52 Paul [EMAIL PROTECTED] napisał(a):
Your thread needs a message pump, unless you work in blocking mode.
Paul
- Original Message -
From: Ja
To:
Sent: Friday, August 29, 2008 11:27 PM
Subject: [twsocket] Using
Ja wrote:
How do I work in blocking mode?
ICS works non-blocking:
http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
Even though some upper level components support blocking mode as well
it's suggested to work asynchronous.
--
Arno Garrels [TeamICS]
Ok then, I really need it to be in thread, so what do I do to make my code work?
Dnia 30 sierpnia 2008 9:18 Arno Garrels [EMAIL PROTECTED] napisał(a):
Ja wrote:
How do I work in blocking mode?
ICS works non-blocking:
http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
Even
Ja wrote:
Ok then, I really need it to be in thread, so what do I do to make my
code work?
At first read this:
http://wiki.overbyte.be/wiki/index.php/FAQ.MultiThreading
If you still believe you have to run TWSocket in a thread you
need a message loop (as Paul pointed out).
Something like:
Thank you.
WSocket1.MessageLoop; works great.
Best regards,
FlashT
Dnia 30 sierpnia 2008 9:49 Arno Garrels [EMAIL PROTECTED] napisał(a):
Ja wrote:
Ok then, I really need it to be in thread, so what do I do to make my
code work?
At first read this:
Your thread needs a message pump, unless you work in blocking mode.
Paul
- Original Message -
From: Ja [EMAIL PROTECTED]
To: twsocket@elists.org
Sent: Friday, August 29, 2008 11:27 PM
Subject: [twsocket] Using WSocket in thread...
Hello,
I'm trying to convert demo of SSL socket to