wangzhengquan
2021-01-26 0cb4f2b1acb16c1ee1bd86a40116300ea2e2cdaa
test_net_socket/net_mod_socket.sh
@@ -36,7 +36,7 @@
}
function close() {
   ps -ef | grep -e "test_net_mod_socket" -e "net_mod_socket"| awk  '{print $2}' | xargs -i kill -9 {}
   ps -ef | grep -e "test_net_mod_socket" -e "heart_beat"| awk  '{print $2}' | xargs -i kill -9 {}
   ipcrm -a
}
@@ -48,8 +48,6 @@
case ${1} in
  "server")
   close
   sleep 2
  server
  ;;
  "client")