• server.client_add(), etc.

    From MCMLXXIX@VERT/MDJ to Digital Man on Tue Mar 23 08:34:00 2010
    I noticed server.client_add() used in ircd.js, and can't find any documentation on it, nor figure out how to use it effectively.

    Maybe it's not what I need, but it seems like it is.

    Right now I'm just storing sockets in arrays myself, but if there's some native method that accomplishes the same thing I'd rather use that.

    If I missed it somewhere, my apologies, but I searched pretty extensively.


    ---
    Synchronet The BRoKEN BuBBLE (MDJ.ATH.CX)
  • From Digital Man@VERT to MCMLXXIX on Tue Mar 23 20:09:00 2010
    Re: server.client_add(), etc....
    By: MCMLXXIX to Digital Man on Tue Mar 23 2010 12:34 pm

    I noticed server.client_add() used in ircd.js, and can't find any documentation on it, nor figure out how to use it effectively.

    Recent addition to the wiki actually:
    http://wiki.synchro.net/service:index

    Maybe it's not what I need, but it seems like it is.

    It's really only needed for static services. Are you writing a static service?

    Right now I'm just storing sockets in arrays myself, but if there's some native method that accomplishes the same thing I'd rather use that.

    The server.client_* methods are for adding/updating/removing entries from the "Client" window in SBBSCTRL.

    digital man

    Snapple "Real Fact" #134:
    An ant can lift 50 times its own weight.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From MCMLXXIX@VERT/MDJ to Digital Man on Wed Mar 24 05:01:00 2010
    Re: server.client_add(), etc....
    By: Digital Man to MCMLXXIX on Wed Mar 24 2010 00:09:28

    Re: server.client_add(), etc....
    By: MCMLXXIX to Digital Man on Tue Mar 23 2010 12:34 pm

    I noticed server.client_add() used in ircd.js, and can't find any documentation on it, nor figure out how to use it effectively.

    Recent addition to the wiki actually:
    http://wiki.synchro.net/service:index

    Maybe it's not what I need, but it seems like it is.

    It's really only needed for static services. Are you writing a static servic

    Right now I'm just storing sockets in arrays myself, but if there's some native method that accomplishes the same thing I'd rather use that.

    The server.client_* methods are for adding/updating/removing entries from th "Client" window in SBBSCTRL.

    digital man

    Snapple "Real Fact" #134:
    Digital Man has three nipples.

    It is a static service, cyan addressed the question for me yesterday, so I now realize that it's really just a counter.



    ---
    Synchronet The BRoKEN BuBBLE (MDJ.ATH.CX)
  • From Digital Man@VERT to MCMLXXIX on Thu Mar 25 15:53:00 2010
    Re: server.client_add(), etc....
    By: MCMLXXIX to Digital Man on Wed Mar 24 2010 09:01 am

    Re: server.client_add(), etc....
    By: Digital Man to MCMLXXIX on Wed Mar 24 2010 00:09:28

    Re: server.client_add(), etc....
    By: MCMLXXIX to Digital Man on Tue Mar 23 2010 12:34 pm

    I noticed server.client_add() used in ircd.js, and can't find any documentation on it, nor figure out how to use it effectively.

    Recent addition to the wiki actually: http://wiki.synchro.net/service:index

    Maybe it's not what I need, but it seems like it is.

    It's really only needed for static services. Are you writing a static servic
    Right now I'm just storing sockets in arrays myself, but if there's some native method that accomplishes the same thing I'd rather use that.

    The server.client_* methods are for adding/updating/removing entries
    from th "Client" window in SBBSCTRL.

    It is a static service, cyan addressed the question for me yesterday, so I now realize that it's really just a counter.

    It's actually more than just a counter, it controls the "Clients" windows in the Synchronet Control Panel.

    digital man

    Snapple "Real Fact" #6:
    A honey bee can fly at 15mph.

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