wangzhengquan
2020-10-13 d6a27f15acd08e99841595cece2b3e3e8045491a
test_net_socket/net_mod_socket.sh
File was renamed from test_net_socket/net_mod_req_rep.sh
@@ -7,16 +7,16 @@
   ./dgram_mod_bus server 8 &
   ./net_mod_req_rep server 5000 &
   ./net_mod_socket server 5000 &
}
function client() {
   ./net_mod_req_rep client 5000
   ./net_mod_socket client 5000
}
function close() {
   ps -ef | grep -e "dgram_mod_req_rep" -e "net_mod_req_rep"  -e "dgram_mod_bus" | awk  '{print $2}' | xargs -i kill -9 {}
   ps -ef | grep -e "dgram_mod_req_rep" -e "net_mod_socket"  -e "dgram_mod_bus" | awk  '{print $2}' | xargs -i kill -9 {}
   ipcrm -a
}