Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Using hfaxd with tcpserver



I don't know how familiar anyone here is with tcpserver (used commonly 
with other djb tools; http://cr.yp.to/ucspi-tcp.html), but I was looking 
at setting up hfaxd (when we upgrade to 4.1.3) to use tcpserver (like 
inet.d).  In my tests, however, it gives the error "HylaFAX[26389]: 
getpeername: Socket operation on non-socket" on connections.  From an 
strace of hfaxd (from 4.1.3) running under tcpserver:

mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40000000
munmap(0x40000000, 4096)                = 0
getpeername(0, 0x8147a14, [16])         = -1 ENOTSOCK (Socket operation 
on non-socket)

Thanks for any assistance you can provide as to why this might be the case.

tcpserver command:
 > tcpserver -v -H -r -t 1 -c 50 0 hylafax /usr/sbin/hfaxd -d -I

-- 
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services