Re: XForms: updating form with blocked read from socket connection.

Steve Lamont (
Fri, 29 Aug 97 07:42:47 PDT

To subscribers of the xforms list from (Steve Lamont) :

> I have an Xforms app that involves reading from a socket connection
> in real-time. The reads are blocking and the data comes up every 2-4
> seconds making updating the Form very choppy. For a section of code
> I manage to do a fork with one process updating the form and the other
> waiting for a socket accept. When I start reading, I would really like
> not to have to fork at every read. Is there another way? ...

Yes. As I discussed in the last posting, use the I/O callback
mechanism. It will be invoked whenever there is activity on the
file descriptor.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: