[Mono-bugs] [Bug 377362] Socket.BeginConnect issue

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 7 17:44:33 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=377362

User alan.mcgovern at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=377362#c6





--- Comment #6 from Alan McGovern <alan.mcgovern at gmail.com>  2008-04-07 15:44:32 MST ---
I added some internal logging to see how long it was taking to connect to a
specific IP:Port combo. I print out the number of ms between when i call
beginconnect and when the corresponding EndConnect is called. The default
timeout seems to be 190 seconds or thereabouts.

I'm not sure if this is even a bug, or if it's just default behavior. I
would've expected a 10-15 second timeout to be much more reasonable. I'm going
to work around the problem by calling .Close() on the sockets if they are
pending for more than 10 seconds. I'd be interested in finding out if this is a
bug or not though.

Choose a listen port: 35211
73ms: 62.44.96.182
169ms: 72.83.201.19
310ms: 91.23.39.1
189004ms: 201.210.41.163
188997ms: 91.64.167.125
188997ms: 24.187.28.151
189001ms: 77.99.185.3
71ms: 62.44.96.182
38ms: 62.146.92.202
126ms: 69.134.167.39
319ms: 91.23.39.1
46ms: 62.146.92.202
68ms: 85.226.188.64
86ms: 89.132.173.227
188999ms: 200.17.96.20
72ms: 85.226.188.64
188998ms: 84.155.99.25
38ms: 62.146.92.202
188996ms: 79.136.17.20
68ms: 89.132.173.227
188997ms: 76.20.136.22
73ms: 62.44.96.182
75ms: 85.226.188.64
266ms: 69.134.167.39
329ms: 91.23.39.1
189004ms: 71.162.242.235
191ms: 165.91.184.4
188999ms: 193.191.238.227
156ms: 84.179.40.212


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list