Ejemplo n.º 1
0
    public OVTest()
    {
        nc     = new NNTPClient();
        status = new StatusListener(nc);
        logform.SetLogHandler(nc);

        form.SetLatencyArticles("0 ms");
        form.SetSpeedArticles("0 kbps");
        form.SetSpeedXover("0 kbps");

        if (connect() == false)
        {
            return;
        }

        form.Statusbar = "Joining group";
        if (nc.Group(form.Newsgroup) == false)
        {
            form.Statusbar = nc.Response;
            return;
        }

        Thread newThread = new Thread(new ThreadStart(doovtests));

        newThread.Start();
    }