comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » timers without widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: timers without widgets [message #43714 is a reply to message #43555] Sat, 23 April 2005 09:39 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Craig Markwardt wrote:
> Benjamin Hornberger <benjamin.hornberger@stonybrook.edu> writes:
>> Socket I/O is exactly our problem. We use a timer to continuously
>> (actually frequently rather than continuously) read from a socket to
>> implement a listening socket. But there are many problems with that,
>> like IDL not reacting while it tries to read (looks like crashed).
>
>
> Can't you set READ_TIMEOUT and WRITE_TIMEOUT to some very small
> number? (perhaps even zero?)
>

We are doing that, but still it doesn't run very smoothly. One problem
is that we have to read every 50 ms since that's the frequency how fast
the data can come in. In the meantime, we would like to be able to click
buttons in the GUI (which also receives the data), but that's hardly
possible.

I have to say that all that, in particular the other side of the socket
connection (C++) is mainly written by somebody else, so I don't have a
full understanding. I just started the discussion because I was curious
if we could have timers without widgets.

Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Selecting Printers Programmatically
Next Topic: Re: GDL - a little uppdate...

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:36:16 PDT 2025

Total time taken to generate the page: 0.72303 seconds