From f462d191f5ded9f9992837862fd97f5c1a536bce Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期二, 01 十二月 2020 16:49:33 +0800
Subject: [PATCH] update
---
test_net_socket/net_mod_socket.sh | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/test_net_socket/net_mod_socket.sh b/test_net_socket/net_mod_socket.sh
index d9f6096..38bfcaa 100755
--- a/test_net_socket/net_mod_socket.sh
+++ b/test_net_socket/net_mod_socket.sh
@@ -23,9 +23,15 @@
}
-function mclient() {
- ./test_net_mod_socket --fun="start_net_mclient" \
- --sendlist="localhost:5000:11"
+function msend() {
+ ./test_net_mod_socket --fun="test_net_sendandrecv_threads" \
+ --sendlist="localhost:5000:11, localhost:5000:11"
+
+}
+
+function mpub() {
+ ./test_net_mod_socket --fun="test_net_pub_threads" \
+ --publist="localhost:5000:8, localhost:5000:8"
}
@@ -48,8 +54,11 @@
"client")
client
;;
- "mclient")
- mclient
+ "msend")
+ msend
+ ;;
+ "mpub")
+ mpub
;;
"close")
close
--
Gitblit v1.8.0