• src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 30 15:34:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5509c20c2cd812db03fa0eeb
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    Use non-blocking connect for telnet/rlogin gateway

    Default connect timeout is now 10 (seconds), and can be overridden by passing an additional number argument to bbs.telnet_gate() or bbs.rlogin_gate().

    Addresses issue #314 by Nelgin.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (in GitKraken)@VERT to Git commit to main/sbbs/master on Thu Mar 9 17:30:39 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/813b3592c5fd2e79129f8041
    Modified Files:
    src/sbbs3/js_bbs.cpp sbbs.h telgate.cpp
    Log Message:
    [telnet|rlogin]_gate now returns bool (false if failed to connect)

    Previously, there was no real way to tell if the call to telnet_gate() or rlogin_gate() was successful (e.g. to display or an error message to the user), though there were error/warning messages logged for the sysop. Equivalent JS bbs object methods now return Boolean too.

    Include ":port" part of address argument to bbs.[telnet|rlogin]_gate methods in JSDOCS.

    Removed a bunch of extraneous (copy-pasted?) JS_SET_RVAL() calls from js_bbs.cpp. This just makes the code a little easier to grok.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net