From 8ec1d776751f62c43335d36c3427dc1ab2d84a61 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期六, 25 七月 2020 13:52:06 +0800 Subject: [PATCH] commit --- 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