wangzhengquan
2020-12-01 95c305005862acb9b611ec2c65e5843c0e19176c
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