http://bugzilla.novell.com/show_bug.cgi?id=538013

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=538013#c1





--- Comment #1 from David Welch <[email protected]>  2009-09-10 
04:22:49 MDT ---
Simple imperfect patch of
mcs/class/System/System.Net.NetworkInformation/Ping.cs which will adjust the
timeout for each iteration around the loop:

205d204
<                 s.ReceiveTimeout = timeout;
213c212
< 
---
>                               long newtimeout = timeout;
218a218
>                                       s.ReceiveTimeout = newtimeout;
231a232,235
>                                       newtimeout = timeout - rtt;
>                                       if (newtimeout <= 0)
>                                               return new PingReply (null, new 
> byte [0], options, 0, IPStatus.TimedOut);
>

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to