[gambit-list] network ports/sockets question

sean chapel seoushi at gmail.com
Tue Dec 28 20:22:04 EST 2010


P!,

Thanks. I did see that function but it's not quite what I was looking
for but it should work. I would have to set the timeout to 0 so it
returns instantly. Something like c's poll function would be a better
fit.

-Sean Chapel

2010/12/28 Adrien "Pied" Piérard <axioplase at gmail.com>:
> Hi.
>
>> I tried using
>> "peek-char" but it seems it's blocking. What should I use in this
>> situation?
>
> I'm pretty sure you're looking for INPUT-PORT-TIMEOUT-SET!
> http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php?title=Documentation:Procedure_input-port-timeout-set!
>
>
> Cheers,
>
> P!
> --
> Français, English, 日本語, 한국어
>



More information about the Gambit-list mailing list