wangzhengquan
2020-07-25 8ec1d776751f62c43335d36c3427dc1ab2d84a61
src/socket/include/shm_socket.h
@@ -73,9 +73,11 @@
int shm_send(shm_socket_t * socket, const void *buf, const int size) ;
int shm_sendandrecv(shm_socket_t *socket, const void *send_buf, const int send_size, const int send_port, void **recv_buf, int *recv_size);
int shm_recv(shm_socket_t * socket, void **buf, int *size) ;
int shm_sendto(shm_socket_t *socket, const void *buf, const int size, const int port);
int shm_sendto(shm_socket_t *socket, const void *buf, const int size, const int port, const struct timespec * timeout = NULL);
int shm_recvfrom(shm_socket_t *socket, void **buf, int *size, int *port);