More...
|
|
| ConnectionService (IEntityWorldService entityWorlds) |
| |
| void | ConnectToServer (NetworkEndpoint endpoint) |
| | Configure NetworkStreamRequestConnect to connect to a given server endpoint.
|
| |
| void | ConnectToServer (string ip, ushort port) |
| | Configure NetworkStreamRequestConnect to connect to a given server IP/port.
|
| |
| void | ListenForClientConnections (ushort port) |
| | Configure NetworkStreamRequestListen to listen for client connections on a given port.
|
| |
| bool | TryGetLocalNetworkEndpoint (ushort port, out NetworkEndpoint endpoint) |
| |
| bool | TryParseNetworkEndpoint (string address, ushort port, out NetworkEndpoint endpoint) |
| | Parse IP and port to a NetworkEndpoint, defaulting to IPv4 and falling back to IPv6.
|
| |
◆ ConnectToServer() [1/2]
| void ConnectToServer |
( |
NetworkEndpoint | endpoint | ) |
|
|
inline |
Configure NetworkStreamRequestConnect to connect to a given server endpoint.
Implements IConnectionService.
◆ ConnectToServer() [2/2]
| void ConnectToServer |
( |
string | ip, |
|
|
ushort | port ) |
|
inline |
Configure NetworkStreamRequestConnect to connect to a given server IP/port.
Implements IConnectionService.
◆ ListenForClientConnections()
| void ListenForClientConnections |
( |
ushort | port | ) |
|
|
inline |
Configure NetworkStreamRequestListen to listen for client connections on a given port.
Implements IConnectionService.
◆ TryGetLocalNetworkEndpoint()
| bool TryGetLocalNetworkEndpoint |
( |
ushort | port, |
|
|
out NetworkEndpoint | endpoint ) |
|
inline |
◆ TryParseNetworkEndpoint()
| bool TryParseNetworkEndpoint |
( |
string | address, |
|
|
ushort | port, |
|
|
out NetworkEndpoint | endpoint ) |
|
inline |
Parse IP and port to a NetworkEndpoint, defaulting to IPv4 and falling back to IPv6.
- Returns
- True if the address could be parsed.
Implements IConnectionService.
The documentation for this class was generated from the following file:
- Runtime/Connection/ConnectionService.cs