TCP library

Martin Wierich martinw@cs.kun.nl
Fri, 5 Feb 1999 17:13:22 +0100


Hi,

Erik Zuurbier wrote:

>>Sending and receiving data via a network can block the whole Clean program
>(I make a
>>distinction between "Clean" and "Concurrent Clean").
>
>Am I going to be able to specify a time-out
>period, after which the program would return Nope?

Yes.

Another option is to poll on a channel, whether data has arrived.
There will be a non blocking send, which buffers unsent data.
A third option is to use "Received" or "Sendable" events together
with Object IO receivers.

Martin Wierich