From 655354a2fb0081171025ed3dcd934193c11473c3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 21 Jan 2011 07:15:22 +0000 Subject: Fixed #1197: WSAECONNRESET errors on Windows 2000 or 2003 may cause UDP transport to stop working git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3408 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pjlib/include/pj/config.h') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 6d5e17bc..bf05cbae 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -801,6 +801,17 @@ #endif +/** + * Disable WSAECONNRESET error for UDP sockets on Win32 platforms. See + * https://trac.pjsip.org/repos/ticket/1197. + * + * Default: 1 + */ +#ifndef PJ_SOCK_DISABLE_WSAECONNRESET +# define PJ_SOCK_DISABLE_WSAECONNRESET 1 +#endif + + /** @} */ /******************************************************************** -- cgit v1.2.3