OpenDOF Project
DOF_INET_TLS_DECLSPEC DOFAddress InetTlsTransport_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-tls-posix Version 1.0.1 Build 0
2017-07-20