I\'m trying to get to know how many bytes there are readable at my TCP socket. I am calling ioctl with the Flag \"FIONREAD\" which should actually give me this value. When I ca
You're doing nothing wrong, if you are using blocking I/O recv() will block untill the data is available.