|
@ -72,7 +72,6 @@ int32_t nn_send(int s, const void *buf, size_t len, int flags) |
|
|
return(0); |
|
|
return(0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int32_t nn_recv(int s, void *buf, size_t len, int flags) |
|
|
int32_t nn_recv(int s, void *buf, size_t len, int flags) |
|
|
{ |
|
|
{ |
|
|
return(0); |
|
|
return(0); |
|
@ -83,6 +82,17 @@ int32_t nn_poll(struct nn_pollfd *fds, int nfds, int timeout) |
|
|
return(0); |
|
|
return(0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int32_t nn_errno(void) |
|
|
|
|
|
{ |
|
|
|
|
|
return(-11); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const char *nn_strerror(int errnum) |
|
|
|
|
|
{ |
|
|
|
|
|
return("nanomsg error"); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
char *nanomsg_transportname(int32_t bindflag,char *str,char *ipaddr,uint16_t port) |
|
|
char *nanomsg_transportname(int32_t bindflag,char *str,char *ipaddr,uint16_t port) |
|
|