4

Is there a way in python to flush a socket once a request has been sent and the information has been obtained correctly?

I have a socket that is used to send different commands at different times, so I was just wondering if this was possible.

Any help would be greatly appreciated.

1 Answer 1

3

In general no is the answer - you can't flush a TCP socket. All that is under the control of TCP. Take a look at this question for some more information

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.