From dd0714b75b2e29087e3cd1184995bf38a453d833 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 01 二月 2021 17:36:13 +0800 Subject: [PATCH] update --- test_net_socket/net_mod_socket.sh | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/test_net_socket/net_mod_socket.sh b/test_net_socket/net_mod_socket.sh index 930cd5d..52eb54e 100755 --- a/test_net_socket/net_mod_socket.sh +++ b/test_net_socket/net_mod_socket.sh @@ -26,18 +26,20 @@ } -# 鏃犻檺寰幆send +# one_to_many send function one_to_many() { ./test_net_mod_socket --fun="one_sendto_many" \ --sendlist=" :5000:100, :5000:101, :5000:102" } -# 澶氱嚎绋媠end -function msend() { - ./test_net_mod_socket --fun="test_net_sendandrecv_threads" \ - --sendlist="localhost:5000:100, localhost:5000:100" + +# +function send() { + ./test_net_mod_socket --fun="test_net_sendandrecv" \ + --sendlist=" :5000:100, :5000:101, :5000:102" } + # 鏃犻檺寰幆 pub function pub() { ./test_net_mod_socket --fun="test_net_pub" \ -- Gitblit v1.8.0