Function anj_net_is_ok
Defined in File anj_net_api.h
Function Documentation
-
static inline bool anj_net_is_ok(int res)
Check if a network operation succeeded.
Convenience function that tests whether the result code of a network operation equals
ANJ_NET_OK.- Parameters:
res – Result code returned by a networking API call.
- Returns:
trueifresindicates success,falseotherwise.