sjstein / tpMonitor

Python monitor script to connect to tpServer
0 stars 0 forks source link

Possible spurious socket close in tpMonitor #31

Closed sjstein closed 4 years ago

sjstein commented 4 years ago

This code snippet within tpMonitor appears to have a socket close which is not needed. Possibly vestiges of older style of client/server comms wherein the socket would be opened and closed for each message handshake.

 if logging:
            f.close()
            s.close()