How to clear the output queue while using the socket server #476
-
|
Hi! I am not sure if questions outside the use of tm_devices are allowed, please feel free to close this. I am writing a library, supporting the socket backend. However, I noticed that at times despite shutting down and closing the TCP socket connection, creating a new connection and writing new queries may still result in output from past queries. I have tried to send "DCL" as noted in the manual to no avail. So far, I found that only restarting the socket server would help. However, there is no way to do this programmatically.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hi @bbawj. We will always try to help or at least direct you to people who can so don't worry about that. What instrument are you communicating with? -Andrew |
Beta Was this translation helpful? Give feedback.
I am not very familiar with raw socket usage (and my coworker who is is out of office for the week).
I was referencing this section in the manual: