From 03987ef3d1ed9c2d604561a69db169cd535014b6 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期六, 25 七月 2020 16:17:04 +0800
Subject: [PATCH] commit

---
 src/socket/include/shm_socket.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/socket/include/shm_socket.h b/src/socket/include/shm_socket.h
index 30b85da..7025f9e 100644
--- a/src/socket/include/shm_socket.h
+++ b/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);
 

--
Gitblit v1.8.0