OpenDOF Project
DOFAddress InetTransport_CreateAddress ( const char *  hostname,
uint16  port 
)

Creates a new address from hostname and port.

Note
Hostname will be resolved and reresolved when needed.
Parameters
hostnameThe hostname this should not be NULL,
portThe port number.
Resource Management:
This function allocates resources that must later be freed by calling DOFAddress_Destroy.
Returns
DOFAddress The address, or NULL if the address could not be created.
core-c-dof-inet-posix Version 2.0.2 Build 0
2017-04-26