So why a lot of online articles have suggested using the select to retrieve the socket to see if there is data can be read, but not available?
CodePudding user response:
Not heard of, don't know the socket with package, only know that made a donetty can alsoCodePudding user response:
I searched, the select seems to be used in multiple socket, as if not better
CodePudding user response:
But before using the select backup socket array, if the socket array is enough big, can affect performance