OpenDOF Project
DOFAddress InetTransport_CreateIPv4Address ( const uint8  addr[4],
uint16  port 
)

Create a new IPv4 address given an address and a port.

Parameters
addrThe IPv4 address. This should not be NULL.
portThe port.
Returns
The new address, or NULL if one could not be created.
Resource Management:
This function allocates resources that must later be freed by calling DOFAddress_Destroy.
core-c-dof-inet-posix Version 2.0.2 Build 0
2017-04-26