From: sos AT buggy DOT prospect DOT com DOT ru (Sergey Okhapkin) Subject: net.cc patch 1 Mar 1998 03:10:15 -0800 Message-ID: <01BD451B.743732D0.cygnus.cygwin32.developers@sos> To: "'cygwin32-developers AT cygnus DOT com'" When using MS winsock proxy server (both v1.0 and v2.0), connect() call fails on duplicated socket handle (at least on Windows NT). This patch fixes the problem. net.cc: (DuplicateSocket): new static function, return original socket on Windows NT and duplicated one on Windows 95. Rest of the file - call it instead of DuplicateHandle. -- Sergey Okhapkin, http://www.lexa.ru/sos Moscow, Russia Looking for a job begin 600 winsock.diff M26YD97 AT Z(&YE="YC8PH]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]"E)#4R!F:6QE M.B O=7-R+V-V'D@'1E7-E;&8L(%!)1%]33T-+15137U53 M140I*0H@(" @('=I;G-O8VM?:6YI=" H*3L*0$ @+3 AT S,2PQ-2 K.#0S+#<@ M0$ @8WEG=VEN,S)?86-C97!T("AI;G0 AT 9F0L('-T6=W:6XS,E]R8VUD("AC:&%R("HJ86AO6=W:6XS,E]R8VUD("AC:&%R("HJ M86AO6=W:6XS,E]RPHM(" @ M(" @:68@*$1U<&QI8V%T94AA;F1L92 H1V5T0W5R6=W:6XS M,E]R97AE8R H8VAA7W-O8VME="AO=71S;V-K+" B+V1E=B]T8W B*3L* ` end