Re: [Chicken-users] tcp-read-timeout: procedure or parameter?

2008-06-24 Thread Peter Bex
On Tue, Jun 24, 2008 at 08:26:00AM +0200, felix winkelmann wrote: > A parameter is a special kind of procedure. You access it like this: > > (tcp-read-timeout) -> > (tcp-read-timeout ) Chicken has an implementation of SRFI-39: Parameter Objects of which you can find docs at http://srfi.schemers.

Re: [Chicken-users] tcp-read-timeout: procedure or parameter?

2008-06-23 Thread felix winkelmann
On Tue, Jun 24, 2008 at 8:26 AM, felix winkelmann <[EMAIL PROTECTED]> wrote: > > There is now API for that, yet. But see the function ##sys#bind-socket in > tcp.scm for an example of the use of socket options. I guess we have to > add support for this. > Sorry, it's "##net#bind-socket". cheers,

Re: [Chicken-users] tcp-read-timeout: procedure or parameter?

2008-06-23 Thread felix winkelmann
On Tue, Jun 24, 2008 at 7:44 AM, William Xu <[EMAIL PROTECTED]> wrote: > The wiki says it's a parameter: > > , > | http://chicken.wiki.br/Unit%20tcp#tcp-read-timeout > | > | tcp-read-timeout > | > | [parameter] tcp-read-timeout > | > | Determines the timeout for TCP read operations in milliseco

[Chicken-users] tcp-read-timeout: procedure or parameter?

2008-06-23 Thread William Xu
The wiki says it's a parameter: , | http://chicken.wiki.br/Unit%20tcp#tcp-read-timeout | | tcp-read-timeout | | [parameter] tcp-read-timeout | | Determines the timeout for TCP read operations in milliseconds. A | timeout of #f disables timeout checking. The default read timeout is | 6