From 614cfd0c968d7b156932d85a5b375ace272a6775 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 30 七月 2020 09:57:42 +0800
Subject: [PATCH] add shm_alloc_key

---
 src/socket/include/dgram_mod_socket.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/socket/include/dgram_mod_socket.h b/src/socket/include/dgram_mod_socket.h
index 1c2ad64..21d0d20 100644
--- a/src/socket/include/dgram_mod_socket.h
+++ b/src/socket/include/dgram_mod_socket.h
@@ -26,6 +26,11 @@
 int dgram_mod_bind(void * _socket, int port);
 
 /**
+ * 寮哄埗缁戝畾绔彛鍒皊ocket, 閫傜敤浜庣▼搴忛潪姝e父鍏抽棴鐨勬儏鍐典笅锛岄噸鍚▼搴忕粦瀹氬師鏉ヨ繕娌¢噴鏀剧殑key
+ * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜
+*/
+int dgram_mod_force_bind(void * _socket, int port);
+/**
  * 鍙戦�佷俊鎭�
  * @port 鍙戦�佺粰璋�
  * @return 0 鎴愬姛锛� 鍏朵粬鍊� 澶辫触鐨勯敊璇爜

--
Gitblit v1.8.0