Server.ChangeTransport Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
ChangeTransport(IServer)
Stops the server if it's running and swaps out the transport it's using.
public void ChangeTransport(IServer newTransport)
Parameters
IServer | newTransport |
The new underlying transport server to use for sending and receiving data. |
Remarks
This method does not automatically restart the server. To continue accepting connections, Start(ushort, ushort, byte, bool) must be called again.