Emulate Linux socket timeout signaling on Windows

This commit is contained in:
Justine Tunney 2024-09-17 00:24:08 -07:00
parent 65e425fbca
commit b14dddcc18
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 246 additions and 29 deletions

View file

@ -51,7 +51,7 @@
* EPIPE (if MSG_NOSIGNAL), EMSGSIZE, ENOTSOCK, EFAULT, etc.
* @cancelationpoint
* @asyncsignalsafe
* @restartable (unless SO_RCVTIMEO)
* @restartable (unless SO_SNDTIMEO on Linux or Windows)
*/
ssize_t send(int fd, const void *buf, size_t size, int flags) {
ssize_t rc;