Function rcl_get_localhost_only
Defined in File localhost.h
Function Documentation
-
rcl_ret_t rcl_get_localhost_only(rmw_localhost_only_t *localhost_only)
Determine if the user wants to communicate using loopback only.
Checks if localhost should be used for network communication based on environment.
- Parameters:
localhost_only – [out] Must not be NULL.
- Returns:
RCL_RET_INVALID_ARGUMENT if an argument is invalid, or
- Returns:
RCL_RET_ERROR if an unexpected error happened, or
- Returns: