Non-blocking socket in Python?

Viewed 17802

Is it me, or can I not find a good tutorial on non-blocking sockets in python?

I'm not sure how to exactly work the .recv and the .send in it. According to the python docs, (my understanding of it, at least) the recv'ed or send'ed data might be only partial data. So does that mean I have to somehow concatenate the data while recv and make sure all data sends through in send. If so, how? An example would be much appreciated.

2 Answers
Related