Answer the question
In order to leave comments, you need to log in
How can I find out the maximum size of data that can be written to a socket?
Hello.
Let's say the socket is in non-blocking mode.
How to find out the number of bytes in the socket buffer available for writing new data?
So that the send call does not return EAGAIN or EWOULDBLOCK errors.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question