From 72b7aebb0022f8e391c999348763acd5f7a16133 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 26 十一月 2020 18:56:33 +0800
Subject: [PATCH] update

---
 test_net_socket/net_mod_socket.sh |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/test_net_socket/net_mod_socket.sh b/test_net_socket/net_mod_socket.sh
index fb65fa3..3aadf24 100755
--- a/test_net_socket/net_mod_socket.sh
+++ b/test_net_socket/net_mod_socket.sh
@@ -1,15 +1,16 @@
 function server() {
 	 
 
-# 鎵撳紑璇锋眰搴旂瓟鐨剆erver
-	./dgram_mod_req_rep server 11 & server_pid=$! &&  echo ${server_pid}
+# 鎵撳紑璇锋眰搴旂瓟鐨勬帴鍙楃
+	./test_net_mod_socket --fun="start_reply" --key=11 & server_pid=$! &&  echo "pid: ${server_pid}" 
 	
 	
-# 寮�鍚痓us
-	./dgram_mod_bus server 8 & server_pid=$! &&  echo ${server_pid}
+# 寮�鍚痓us 
+ ./test_net_mod_socket --fun="start_bus_server" --key=8  & server_pid=$! &&  echo "pid: ${server_pid}"
 	 
-# 寮�鍚綉缁渟erver
-	./test_net_mod_socket server 5000 & server_pid=$! &&  echo ${server_pid}
+	 
+# 寮�鍚綉缁滆浆鍙戜唬鐞�
+	./test_net_mod_socket  --fun="start_net_proxy" --port=5000 & server_pid=$! && echo "pid: ${server_pid}" 
 	 
 }
 

--
Gitblit v1.8.0