Example #1
0
 static void Main(string[] args)
 {
     IrcServicesConfig conf = new IrcServicesConfig("192.168.0.156",7092,"password","test.services.seersirc.net","42","A test for the framework yo!","Quartzite version Something");
     conf.Ssl = false;
     IrcServices serv = new IrcServices(conf);
     serv.Connect();
     serv.Run();
 }
Example #2
0
        public IrcServices(IrcServicesConfig config)
        {
            Config = config;

            //If a bind address has been given, bind to it, otherwise use default behavior.
            if (Config.LocalHost == String.Empty) {
                net = new Net();
            } else {
                net = new Net(Config.LocalHost);
            }

            Parser = new IrcParser();
            Unreal unreal = new Unreal(this, Parser);
            unreal.Setup();
        }