• server.client_add(), etc....

    From MCMLXXIX@VERT/MDJ to Digital Man on Tuesday, March 23, 2010 12:34:28
    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 Wednesday, March 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 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 Wednesday, March 24, 2010 09:01:05
    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 Thursday, March 25, 2010 19:53:56
    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