ITransport
An interface in Alta.NetworkTransport.Runtime, Alta.NetworkingTransport.
A low-level network transport that Socket sends packets over. KcpTransport is the implementation in this build.
- Listed in Other Alta assemblies
- Derived types
KcpTransport
Properties
| Member | What it is |
|---|---|
int ByteOffset { get; } | Bytes the transport reserves at the start of each packet for its own header. |
int PacketSize { get; } | Largest packet the transport sends, in bytes. |
Methods
| Member | What it is |
|---|---|
ITransportClient Connect(string ipAddress, int port) | Opens a client connection to an IP address and port. |
int CreateChannel(bool isReliable) | Creates a reliable or unreliable channel and returns its id. |
ITransportServer CreateServer(int port) | Starts listening for connections on a port. |
void Terminate() | Shuts the transport down. |
Used in
Members of other types that take, return or hold a ITransport: