David,
Unicon has a non-blocking read function called "ready(socket, timeout
in milliseconds)". Usually I use ready() with select() to get the desired
effect you are talking about where I read from several sockets.
L := select( socket_list, TIMEOUT*1000)
every sock := !L do
if buffer:= ready( sock ) then
process(buffer)
Jafar
On Tue, May 25, 2010 at 6:41 AM, David Gamey <[email protected]> wrote:
> Folks,
>
> As I recall Unicon blocks its I/O's. Just wondering if anyone knows if
> coexpressions and/or monitoring can be used to gain some concurrency in I/O
> operations such as reading sockets.
>
> David
>
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
--
"Let there be no compulsion in religion: Truth stands out clear from error"
[The Holy Qur'an 2:256]
"Injustice anywhere is a threat to justice everywhere" Dr. King
------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group