From d94bfb19c54d4b980c1b4d63b42f3dfa0bc202a6 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 27 七月 2020 11:42:34 +0800 Subject: [PATCH] update --- src/socket/include/shm_socket.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/socket/include/shm_socket.h b/src/socket/include/shm_socket.h index 822450d..7025f9e 100644 --- a/src/socket/include/shm_socket.h +++ b/src/socket/include/shm_socket.h @@ -77,7 +77,7 @@ 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); -- Gitblit v1.8.0