From 509cf5db80c1d8919e19e1e061f2014e1ff3caf7 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期三, 05 八月 2020 19:44:03 +0800 Subject: [PATCH] udpate --- src/socket/include/shm_socket.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/socket/include/shm_socket.h b/src/socket/include/shm_socket.h index 4852b27..6bb0448 100644 --- a/src/socket/include/shm_socket.h +++ b/src/socket/include/shm_socket.h @@ -29,6 +29,11 @@ }; +enum shm_socket_error_type_t { + SHM_SOCKET_ECONNFAILED = 1, + SHM_SOCKET_ETIMEOUT = 2 +}; + enum shm_connection_status_t { SHM_CONN_CLOSED=1, SHM_CONN_LISTEN=2, @@ -44,6 +49,8 @@ } shm_msg_t; + + typedef struct shm_socket_t { shm_socket_type_t socket_type; // 鏈湴port -- Gitblit v1.8.0