Search Results

Search: Posts Made By: sanushchacko
7,493
Posted By achenle
You're probably spinning your write() retries...
You're probably spinning your write() retries faster than the buffers that feed the socket can drain. If it's not returning an error, keep trying to send the bytes that you didn't already send.
...
7,493
Posted By Loic Domaigne
Any reason for not using standard blocking mode? ...
Any reason for not using standard blocking mode?



I can't quite follow. If only 1080 has been sent, I don't think that read() returns 2464 bytes...


You need to handle partial read anyway...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy