Namespace: System.Dynamic.ExpandoObject#
Assembly: transport.dll#
Syntax#
LocalEndPoint#
Declaration#
Property Value#
Type | Description |
---|
NetworkInterfaceEndPoint | |
Bind(NetworkInterfaceEndPoint)#
Binds the medium to a specific endpoint.
Declaration#
Parameters#
Type | Name | Description |
---|
NetworkInterfaceEndPoint | endpoint | A valid NetworkInterfaceEndPoint. |
Returns#
Type | Description |
---|
System.Int32 | 0 on Success |
CreateInterfaceEndPoint(NetworkEndPoint, out NetworkInterfaceEndPoint)#
Declaration#
Parameters#
Type | Name | Description |
---|
NetworkEndPoint | address | |
NetworkInterfaceEndPoint | endpoint | |
Returns#
Type | Description |
---|
System.Int32 | |
CreateSendInterface()#
Declaration#
Returns#
Type | Description |
---|
NetworkSendInterface | |
GetGenericEndPoint(NetworkInterfaceEndPoint)#
Declaration#
Parameters#
Type | Name | Description |
---|
NetworkInterfaceEndPoint | endpoint | |
Returns#
Type | Description |
---|
NetworkEndPoint | |
Initialize(NetworkSettings)#
Declaration#
Parameters#
Type | Name | Description |
---|
NetworkSettings | settings | |
Returns#
Type | Description |
---|
System.Int32 | |
Listen()#
Start listening for incoming connections. This is normally a no-op for
real UDP sockets.
Declaration#
Returns#
Type | Description |
---|
System.Int32 | 0 on Success |
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
Declaration#
Parameters#
Type | Name | Description |
---|
NetworkPacketReceiver | receiver | A NetworkDriver used to parse the data received. |
JobHandle | dep | A to any dependency we might have. |
Returns#
Type | Description |
---|
JobHandle | A to our newly created ScheduleReceive Job. |
ScheduleSend(NativeQueue\<QueuedSendMessage>, JobHandle)#
Schedule a SendJob. This is used to flush send queues to your supported
medium
Declaration#
Parameters#
Type | Name | Description |
---|
NativeQueue\<QueuedSendMessage> | sendQueue | The send queue which can be used to emulate parallel send. |
JobHandle | dep | A to any dependency we might have. |
Returns#
Type | Description |
---|
JobHandle | A to our newly created ScheduleSend Job. |