Function anj_net_is_again
Defined in File anj_net_api.h
Function Documentation
-
static inline bool anj_net_is_again(int res)
Check if data was received.
Convenience function that tests whether the result code of a network operation equals
ANJ_NET_EAGAIN.- Parameters:
res – Result code returned by a networking API call.
- Returns:
trueifresequals ANJ_NET_EAGAIN,falseotherwise.