Subj : Getting the telnet port number To : Ree From : echicken Date : Thu Jan 20 2011 01:04 pm Re: Getting the telnet port number By: Ree to All on Wed Jan 19 2011 10:14:09 > 1) Is there a property/method I can use to determine what port the telnet > server is running on? Currently I've hardcoded to connect to > system.local_host_name on port 23, but ideally I'd like the port number to > come from a variable like the host name does You could use the INI parsing functions to read that out of /sbbs/ctrl/sbbs.ini, like so: var f = new File(system.ctrl_dir + "sbbs.ini"); f.open("r"); var telnetPort = f.iniGetValue("BBS", "TelnetPort"); f.close(); (That's off the top of my head, syntax may differ slightly.) > 2) Will there be a problem with possibly having multiple connections from th > same IP address? For example 5 different people could all be connecting via Not that I'm aware of - typically it's a matter of disallowing multiple logons from the same account rather than IP - but there could be such a setting somewhere. If so, not enabled by default afaik. > 3) How do I get the service included in the official Synchronet release > archives (hopefully enabled by default, but even if it's disabled but includ > that would be great too)? Or do I just distribute on my own site and hope > people find it? Ask DM for a CVS account, or ask someone with a CVS account to post it for you. echicken electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230 --- þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com .