X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Fcompat%2Fwindows%2Fwincompat.h;h=8f62240c68be2e3cc9f9c57bfc1b98f283d503a2;hp=de3396c2a62bc08665c9212812a1305d51636710;hb=4ac8d5e93bf09c86e8352cdc2099b35ec89ba3a9;hpb=f502ad7eec6117b80c415b0c6ed45989afab5aaa diff --git a/src/compat/windows/wincompat.h b/src/compat/windows/wincompat.h index de3396c..8f62240 100644 --- a/src/compat/windows/wincompat.h +++ b/src/compat/windows/wincompat.h @@ -21,6 +21,10 @@ void winsock_init(void); void winsock_exit(void); +// the equivalent of strerror(errno) for Windows sockets +char *errnostrsocket(void); + + // Winsock doesn't have recvmsg/sendmsg but offers the same functionality // with WSARecvMsg/WSASendMsg, so we implement the former in terms of the // latter.