Team XSockets.NET

Your first configuration

Let's add a custom configuration that starts the server on localhost and port 9090.

Add a new item (ctrl + shift + a) and choose XSockets.NET 5 and select the Configuration template as shown below.

config template

This will give you a sample configuration like below

using XSockets.Core.Configuration;

namespace XSocketsTutorial.Configurations
{
    /// <summary>
    /// Uncomment/Copy the contrstructor you want to use and change the settings
    /// </summary>
    public class MyFirstConfig : ConfigurationSetting
    {
        /// <summary>
        /// Sample where we setup the server to run on localhost port 4506.
        /// We can of course replace the IP with host name for example mydomain.com:4506
        /// </summary>
        public MyFirstConfig() : base("ws://127.0.0.1:4502") { }
    }
}

Just replace the port 4502 with 9090 and we are good to go. Hit F5 and you will see that there is no auto configuration, just your custom configuration.

Running custom config

results matching ""

    No results matching ""