From 20eaccf79dbd87e66843d0084593589bf6808899 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Thu, 21 May 2020 07:15:40 +1000 Subject: [PATCH] socket.recv does not work how I though it did --- TWS/twsproxy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TWS/twsproxy/__init__.py b/TWS/twsproxy/__init__.py index 55bbc8b..47728c4 100644 --- a/TWS/twsproxy/__init__.py +++ b/TWS/twsproxy/__init__.py @@ -211,7 +211,7 @@ class TWSProxy(threading.Thread): in particular Datagram sockets in various domains (e.g., the UNIX and Internet domains) permit zero-length datagrams. When such a datagram is received, the return value is 0. """ - logger.debug('msglength 0, sending 0 {} {}'.format(src,dest)) + #logger.debug('msglength 0, sending 0 {} {}'.format(src,dest)) dest.send(buff) #dest.shutdown(shuttype) #initshutdown.set() -- GitLab