Struct BaselibNetworkInterface
Default NetworkInterface implementation based on Unity's internal Baselib UDP sockets this is ensure to work on all platforms except for Unity's WebGL.
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
[BurstCompile]
public struct BaselibNetworkInterface : INetworkInterface, IDisposable
Fields
Name | Description |
---|---|
Default |
Default Parameters for Baselib |
Properties
Name | Description |
---|---|
Is |
Gets if the interface has been created. |
Local |
Returns the local endpoint the Baselib |
Methods
Name | Description |
---|---|
Bind(Network |
Binds the medium to a specific endpoint. |
Create |
Converts a generic Network |
Create |
Creates the send interface |
Dispose() | Disposes this instance |
Get |
Converts a Network |
Initialize(Network |
Initializes a instance of the Baselib |
Listen() | Listens on the socket, currently this Interface doesn't support listening as its UDP based. |
Schedule |
Schedule a ReceiveJob. This is used to read data from your supported medium and pass it to the AppendData function
supplied by Network |
Schedule |
Schedule a SendJob. This is used to flush send queues to your supported medium |