scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-549599 ] accept-connection loses with AF_UNIX

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-549599 ] accept-connection loses with AF_UNIX
From: noreply@sourceforge.net
Date: Sat Apr 27 14:19:02 2002
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs item #549599, was opened at 2002-04-27 14:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=549599&group_id=10493

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: accept-connection loses with AF_UNIX

Initial Comment:
I'am using scsh 0.6.1

executing "
(bind-listen-accept-loop protocol-family/unix 
do-message socket-name) " / accept-connection does 
not work. Never calls do-message  

lowlevel scheme_accept [from network1.c]
        returns fixnum for protocol-family/unix
        while it returns a cons-cell for
                           protocol-family/internet

and then [from network.scm]
(define (accept-connection sock)
...
  (cond ((pair? fd-addr) 
        will not take this route and therfore
        not do
        (values ..)

   but instead
   (else (wait-for-channel ... 
        and hang there indefinitly 
        (strace shows only one accept 
        even if multiple conection attemps are made)
   




----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=549599&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>