[Mono-bugs] [Bug 464139] Socket leak

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 7 12:30:37 EST 2009


User andyhume32 at yahoo.co.uk added comment

Andy Hume <andyhume32 at yahoo.co.uk> changed:

           What    |Removed                                         |Added
                 CC|                                                |andyhume32 at yahoo.co.uk

--- Comment #4 from Andy Hume <andyhume32 at yahoo.co.uk>  2009-01-07 10:30:36 MST ---
The first test completes on Mono on Windows XP Pro.  Is it just an underlying
platform difference?

If the native socket wasn't created at construction time, then wrong socket
type parameters couldn't be reported then, i.e. the following would fail:
    try {
       new Socket((AddressFamily)99, (SocketType)99, (ProtocolType)99);
       Assert.Fail("should have thrown");
    } catch(SocketException) {

In the Listener case the Finalizer will clear up the Socket once the listener
is GC'd, so no leak.

Configure bugmail: https://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.

More information about the mono-bugs mailing list