Method CreateInterfaceEndPoint
CreateInterfaceEndPoint(NetworkEndPoint, out NetworkInterfaceEndPoint)
Converts a generic NetworkEndPoint to its NetworkInterfaceEndPoint version for the BaselibNetworkInterface.
Declaration
public int CreateInterfaceEndPoint(NetworkEndPoint address, out NetworkInterfaceEndPoint endpoint)
Parameters
Type | Name | Description |
---|---|---|
NetworkEndPoint | address | The NetworkEndPoint endpoint to convert. |
NetworkInterfaceEndPoint | endpoint | The new NetworkInterfaceEndPoint. |
Returns
Type | Description |
---|---|
int | returns 0 on success and sets the converted endpoint value |