cannot create instance of AppServer

Jan 27, 2013 at 7:21 AM

Hello,

   I have tried the .NET 3.5 and 4.0 versions. Here is my code:

 

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Config;
using SuperSocket.SocketEngine;
using SuperSocket.SocketBase.Protocol;

namespace WinnieServer
{
    class Program
    {
        AppServer W = new AppServer();

        static void Main(string[] args)
        {
            Console.Write("Starting...");



            while (true)
            {

            }
        }
    }
}

This gives me an error that an instance of the class or interface "SuperSocket.SOcketBase.AppServer" cannot be created.

 I tried using the Telnet examples and when I changed the references to the same DLL's, I got the same error.

 

lee

Coordinator
Jan 27, 2013 at 11:26 AM

Did you try the samples in QuickStart?

Jan 27, 2013 at 12:02 PM

Hello,

 

    Thanks for your response.

    It turned out I somehow had V0.6. I downloaded V1.5 and everything is fine.

 

take care,

lee