Search Results for

    Show / Hide Table of Contents

    Server.Start Method

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    Start(ushort, ushort, byte, bool)

    Starts the server.

    public void Start(ushort port, ushort maxClientCount, byte messageHandlerGroupId = 0, bool useMessageHandlers = true)

    Parameters

    ushort port

    The local port on which to start the server.

    ushort maxClientCount

    The maximum number of concurrent connections to allow.

    byte messageHandlerGroupId

    The ID of the group of message handler methods to use when building messageHandlers.

    bool useMessageHandlers

    Whether or not the server should use the built-in message handler system.

    Remarks

    Setting useMessageHandlers to false will disable the automatic detection and execution of methods with the MessageHandlerAttribute, which is beneficial if you prefer to handle messages via the MessageReceived event.

    • Improve this Doc
    • View Source
    • Support Riptide
    In This Article
    Back to top Copyright © Tom Weiland 2022
    Made with DocFX