Search Results for

    Show / Hide Table of Contents

    Server.HandleConnection Field

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    An optional method which determines whether or not to accept a client's connection attempt.

    public Server.ConnectionAttemptHandler HandleConnection

    Returns

    Server.ConnectionAttemptHandler

    Remarks

    The Connection parameter is the pending connection and the Message parameter is a message containing any additional data the client included with the connection attempt. If you choose to subscribe a method to this delegate, you should use it to call either Accept(Connection) or Reject(Connection, Message). Not doing so will result in the connection hanging until the client times out.

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