Table of Contents

Class RakNet

Namespace
OpenGSQ.Protocols
Assembly
OpenGSQ.dll
public class RakNet : ProtocolBase
Inheritance
RakNet
Inherited Members

Constructors

RakNet(string, int, int)

Initializes a new instance of the RakNet class.

public RakNet(string host, int port, int timeout = 5000)

Parameters

host string

The host.

port int

The port.

timeout int

The timeout. Default is 5000.

Properties

FullName

Gets the full name of the protocol.

public override string FullName { get; }

Property Value

string

Methods

GetStatus()

Gets the server status asynchronously.

public Task<Status> GetStatus()

Returns

Task<Status>

A task that represents the asynchronous operation. The task result contains the server status.

Exceptions

TimeoutException

Thrown when the operation times out.