freyzou opened this issue 6 years ago · 1 comments
As a tcp client, I don't want to continually read data using a infinite while loop, instead, I think it would be better to listen and read.
By the way, I'm a newbie for socket. Can someone give me a best pratice to handle this condition.