Create a new address from an existing, standard sockaddr structure.
The platform will choose the most appropriate interface to use.
- Parameters
-
addr | The standard, generic sockaddr structure. This should not be NULL. |
addrSize | The size of the sockaddr structure. |
- 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.