Hi ,
Could someone please tell us if EWOULDBLOCK. works sendto()? If yes! please give an example ... thanks! If not, is there anything similar to accept error?
Thanks for your replies
Hi ,
Could someone please tell us if EWOULDBLOCK. works sendto()? If yes! please give an example ... thanks! If not, is there anything similar to accept error?
Thanks for your replies
It's not entirely clear what you're asking. A Google search for sendto and EWOULDBLOCK would imply that it can be returned, yes. Any sending operation on a socket could theoretically run out of send-buffer space, which means the operating system would have to wait until such space became available, hence EWOULDBLOCK is a reasonable value to return for a non-blocking socket.