I have found where is the problem : I have a read instruction which blocks :
read from socket socket1 until empty
You said that it didn't block, but for me, it always is waiting, and the
program continues when I move the mouse or click on the stack. A bug ?
Maxence BERNARD
On Jun 29, 2004, at 11:48 AM, Dar Scott wrote:
I think most of the folks who do a lot of sockets scripting use 'with
message', so those might be more robust and you may have to do that.
The compiler allows 'until empty' to be optional in that case. Try
both if need be.
In my case, I use for
Hello,
I encounter a strange result in my program. I have a program like this :
answer something
read from socket socket1 for 2
answer something2
Sometimes, the something2 message box doesn't appear or 4-5 minutes
later. That seems that the instruction read from socket does not finish
or
On Jun 28, 2004, at 1:38 PM, [EMAIL PROTECTED] wrote:
I encounter a strange result in my program. I have a program like this
:
answer something
read from socket socket1 for 2
answer something2
Sometimes, the something2 message box doesn't appear or 4-5 minutes
later.
What OS? What version of
On Jun 28, 2004, at 1:38 PM, [EMAIL PROTECTED] wrote:
I encounter a strange result in my program. I have a program like this
:
answer something
read from socket socket1 for 2
answer something2
Sometimes, the something2 message box doesn't appear or 4-5 minutes
later.
What OS? What
On Jun 28, 2004, at 1:38 PM, [EMAIL PROTECTED] wrote:
set the socketTimeoutInterval to 1000
From the Transcript Dictionary:
As long as the action is still pending, the socketTimeout message is
sent every time the socketTimeoutInterval elapses. For example, if the
socketTimeoutInterval is 1000
On Jun 28, 2004, at 1:38 PM, [EMAIL PROTECTED] wrote:
set the socketTimeoutInterval to 1000
From the Transcript Dictionary:
As long as the action is still pending, the socketTimeout message is
sent every time the socketTimeoutInterval elapses. For example, if the
socketTimeoutInterval
On Jun 28, 2004, at 2:24 PM, [EMAIL PROTECTED] wrote:
Your script is waiting for two bytes.
So, is there a way to stop this waiting, otherwise my application
doesn't
continue. How could I interrupt the read from socket instruction with
the socketTimeout message ?
First, I need to say that I