wangzhengquan
2020-07-25 03987ef3d1ed9c2d604561a69db169cd535014b6
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);