Upgrade from SuperSocket 1.4

Keywords: SuperSocket 1.5, SuperSocket 1.4, Upgrade, Naming changes, Configuration changes, Bootstrap

Naming changes

Configuration changes

Logging API changes

New bootstrap

The SocketServerManager in v1.4:

var serverConfig = ConfigurationManager.GetSection("socketServer") as SocketServiceConfig;

if (!SocketServerManager.Initialize(serverConfig))
{
    race.WriteLine("Failed to initialize SuperSocket!", "Error");
    return false;
}

if (!SocketServerManager.Start())
{
    Trace.WriteLine("Failed to start SuperSocket!", "Error");
    return false;
}

The new bootstrap:

var bootstrap = BootstrapFactory.CreateBootstrap();

if (!bootstrap.Initialize())
{
    return false;
}

var result = bootstrap.Start();