Hi Andras,

> 
> /pil app/main.l -ap~main -'go 4040' +
> 6538 = 58885 48782252818959702~
> ap: !? (wait Ms T "Sd")
> Select error: Invalid argument
> ...
> It has the same behavior as the previous version of pil21.

Yeah, I thought about it, and came to the conclusion that today's change in
gPoll() is only relevant for very large (> 24 days) timeouts. Such a timeout is
seldom used, I think.

So what causes the above error?

It happens in 'listen' (line 94 in @lib/net.l):

   (de listen (Sd Ms)
      (loop
         (NIL (wait Ms T Sd))
         (T (accept Sd) @) ) )

"Select error" is issued by poll(). But which argument is ivalid?

Can you try to trace or debug?

Is the socket descriptor invalid? The 'Ms' argument must be NIL cause listen is
called by 'server' as (listen P). Thus 'wait' passes 292MY to waitFd().

Any idea?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to