Subj : synchronet sockets To : Underminer From : Digital Man Date : Wed Aug 12 2020 21:27:59 Re: synchronet sockets By: Underminer to Digital Man on Wed Aug 12 2020 06:22 pm > Re: synchronet sockets > By: Digital Man to Underminer on Fri Aug 07 2020 11:04 pm > > DM> Not sure which "report" you're referring to, but socket represented as > DM> integer descriptors on Linux. > > When running a door with %h you get a socket descriptor, and likewise if you > look at the door32.sys dropfile. > > DM> Can you give more context to your question? > > Sure. I've been playing around with writing a modern version of an old door > game to run natively on Linux. While certainly not a big deal as both > Synchronet and Mystic intercept stdio for linux doors, and I'm sure other > software does too, I was just wanting to try my hand at socketio output as > well. I had thought/hoped maybe the integer passed from the above command > line/dropfile would corrospond to the filedes used by termios, but I seem to > be barking up the wrong tree with that one. It is a file/socket descriptor. You should (on *nix-based OSes anyway) be able to just write() to it and the output gets sent to the user. Or read() from it to get input from the user. I'm not sure what termios has to do it. digital man Sling Blade quote #13: Karl: He lives inside of his own heart. That's an awful big place to live in. Norco, CA WX: 76.3øF, 50.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .