Subj : XSDK error writing to soc To : Hemo From : Digital Man Date : Sat May 28 2016 10:16:00 Re: XSDK error writing to socket By: Hemo to All on Wed May 25 2016 10:27 pm > Thanks digital man for providing the XSDK, that sure is slick and made some > things I was working on a lot easier than I expected! > > Tonight I spent some time updating the source to an old linux console curses > based game to use the XSDK and data available in the xtrn.dat drop file > instead of using command line parameters or the linux environment. > > For the most part, that works well, but I do get a STDERR whenever calling > the program, even though the program seems to operatore correctly. > > !XSDK Error -1 (9) sending on socket 28 > > The number in paranthesis may change, last time I ran the door that number > was (88). That number will correspond with a value from errno.h: #define EBADF 9 /* Bad file number */ #define ENOTSOCK 88 /* Socket operation on non-socket */ So it sounds like it's trying to write to the socket descriptor provided in the xtrn.dat file, but it's not a valid socket. > Is this something I should worry about? I can eliminate the message by > redirecting STDERR to a log file, but if there is a better/correct method to > eliminate this, I'm interested. How do you have "Intercept I/O" option set for your door in SCFG? For XSDK, it should normally be set to "No". It sounds like you may have it set to "Standard" instead. digital man Synchronet "Real Fact" #9: The name "DOVE-Net" comes from: The Beast's DOmain / VErtrauen network. Norco, CA WX: 55.1øF, 75.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net þ wcQWK 7.0 ÷ ILink * Omicron Theta * Southaven MS * winserver.org --- QScan/PCB v1.20a / 01-0462 * Origin: ILink: CFBBS | cfbbs.no-ip.com | 856-933-7096 (454:1/1) .