9 static u8 _net_error_code_map[] = {
89 #define NET_UNKNOWN_ERROR_OFFSET -10000//This is from libogc network_wii.c.
94 if (sock_retval >= 0)
return sock_retval;
95 if (sock_retval < -
sizeof(_net_error_code_map)
96 || !_net_error_code_map[-sock_retval])
98 return -_net_error_code_map[-sock_retval];
s32 _net_convert_error(s32 sock_retval)
#define NET_UNKNOWN_ERROR_OFFSET