Could you tell me how to make the socket non-blocking?
Type: Posts; User: Masna
Could you tell me how to make the socket non-blocking?
So, is read supposed to cause freezing like this? Because, I've been reading tutorials and checking source code all day and I see everyone using the infinite while loop until read returns 0.
Hey all. I'm currently writing a basic TCP client script with basic write and read functions implemented. As I understand, it makes sense to enter an infinite while loop to read responses from the...