pyzmq - How to close sockets left open by a killed program? -


i kinda new sockets, bare me. have program (python) in point uses

    zmq.context.socket(zmq.rep) 

and

    zmq.context.socket(zmq.pair)  

sockets problem when program killed sockets still can found using:

    'ps aux | grep zmq' 

command. can make them disappear after program killed?

according to;

https://superuser.com/questions/127863/manually-closing-a-port-from-commandline

only application can close sockets using, after applications process killed, sockets should automatically freed within couple of minutes. being patient enough?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -