Function rmw_network_flow_endpoint_set_internet_address
Defined in File network_flow_endpoint.h
Function Documentation
-
rmw_ret_t rmw_network_flow_endpoint_set_internet_address(rmw_network_flow_endpoint_t *network_flow_endpoint, const char *internet_address, size_t size)
Set internet address in the rmw_network_flow_endpoint_t struct.
- Parameters:
network_flow_endpoint – [in] network_flow_endpoint_t to be initialized
internet_address – [in] the internet address as C-style string
size – [in] size of internet_address excluding terminating null
- Returns:
RMW_RET_OKon successfull initilization, or- Returns:
RMW_RET_INVALID_ARGUMENTifnetwork_flow_endpointis NULL, or- Returns:
RMW_RET_INVALID_ARGUMENTifinternet_addressis NULL, or- Returns:
RMW_RET_INVALID_ARGUMENTifsizeis not less than RMW_INET_ADDRSTRLEN, or- Returns:
RMW_RET_ERRORwhen an unspecified error occurs.