Search Results for

    Show / Hide Table of Contents

    Client.ChangeTransport Method

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    ChangeTransport(IClient)

    Disconnects the client if it's connected and swaps out the transport it's using.

    public void ChangeTransport(IClient newTransport)

    Parameters

    IClient newTransport

    The new transport to use for sending and receiving data.

    Remarks

    This method does not automatically reconnect to the server. To continue communicating with the server, Connect(string, int, byte, Message, bool) must be called again.

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