1) fixed "main function": mechanism for running this script as a stand-alone program...
authoritraviv <[email protected]>
Wed, 10 Aug 2016 12:12:58 +0000 (15:12 +0300)
committeritraviv <[email protected]>
Wed, 10 Aug 2016 12:12:58 +0000 (15:12 +0300)
commitb3dc958ce81dcb5634be9c9088d6ab48816624a7
treee29d23aa76afa0829230a4ade5d87a0722893746
parent20d4c966c15aa134d58c8d53d840cddd9903f9aa
1) fixed "main function": mechanism for running this script as a stand-alone program and running it from another python script

2) added closure of sockets and context explicitly (counting  on python garbage-collector caused errors)

3) added support for 'remote shutdown' feature. now the server can be shut-down using 'shut_down' method as RPC from client
scripts/automation/trex_control_plane/stl/services/scapy_server/scapy_zmq_server.py