• Re: SexPOTS

    From Marceline Jones@1:103/705 to DIGITAL MAN on Sun Mar 14 17:00:00 2021
    Does the "-live" option actually accept a handle ? because it appears to think "com2" is an initialisation file:

    Yes, a com handle is a number. Because you're not passing a number,
    but rather a string ("com2"), sexpots assumes you just mean to use
    "-live" without a handle and the argument following is parsed as an additional argument, thus a configuration filename.

    Could you have used a socket or pipe instead ?

    The handle value would be ephemeral (not predictable) and a value
    returned by the original program that opened the com port (e.g. via
    open() or OpenFile()). So... likely not '2' either. --

    Ah ok. Oh well, I doubt DOS returns a handle.

    ___ Blue Wave/386 v2.30
    --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Marceline Jones on Sat Mar 13 22:51:38 2021
    Re: Re: SexPOTS
    By: Marceline Jones to DIGITAL MAN on Sun Mar 14 2021 05:00 pm

    Does the "-live" option actually accept a handle ? because it appears to think "com2" is an initialisation file:

    Yes, a com handle is a number. Because you're not passing a number,
    but rather a string ("com2"), sexpots assumes you just mean to use "-live" without a handle and the argument following is parsed as an additional argument, thus a configuration filename.

    Could you have used a socket or pipe instead ?

    No, COM port are accessed via a COM handle (on Windows). It's part of the Win32 API.

    The handle value would be ephemeral (not predictable) and a value returned by the original program that opened the com port (e.g. via open() or OpenFile()). So... likely not '2' either. --

    Ah ok. Oh well, I doubt DOS returns a handle.

    No, it definitely would not. I'm not clear what you're trying to do, but I don't think SexPOTS is the right thing for it.
    --
    digital man

    Synchronet "Real Fact" #100:
    You can leave a voicemail for The TechDorks (Stephen and I) at 951-523-7535. Norco, CA WX: 46.9øF, 89.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.13-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)