Interface INetworkTransport
- Namespace
- BSGameLib.Networking.Interfaces
- Assembly
- BSGameLib.Networking.dll
A transport that sends packets and receives them. Nothing in BSGameLib uses it.
public interface INetworkTransport
Methods
ReceiveAsync()
Waits for the next packet received and returns it.
IDataPacket ReceiveAsync()
Returns
Send(IDataPacket)
Sends packet.
void Send(IDataPacket packet)
Parameters
packetIDataPacket