Struct IPCNetworkInterface
The ipc network interface
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: solution.dll
Syntax
[BurstCompile]
public struct IPCNetworkInterface : INetworkInterface, IDisposable
Properties
| Name | Description |
|---|---|
| LocalEndPoint | Gets the value of the local end point |
Methods
| Name | Description |
|---|---|
| Bind(NetworkInterfaceEndPoint) | Binds the medium to a specific endpoint. |
| CreateInterfaceEndPoint(NetworkEndPoint, out NetworkInterfaceEndPoint) | Creates an interface end point. Only available for loopback addresses. |
| CreateSendInterface() | Creates the send interface |
| Dispose() | Cleans up both the local end point and the IPCManager instance. |
| GetGenericEndPoint(NetworkInterfaceEndPoint) | Retrieves an already created endpoint with port or creates one. |
| Initialize(NetworkSettings) | Initializes the interface passing in optional INetworkParameter |
| Listen() | Start listening for incoming connections. This is normally a no-op for real UDP sockets. |
| ScheduleReceive(NetworkPacketReceiver, JobHandle) | Schedule a ReceiveJob. This is used to read data from your supported medium and pass it to the AppendData function supplied by NetworkDriver |
| ScheduleSend(NativeQueue<QueuedSendMessage>, JobHandle) | Schedule a SendJob. This is used to flush send queues to your supported medium |