[Mono-list] Dispose() method in the UdpClient class

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 14 Oct 2003 08:43:30 +0200


El mar, 14-10-2003 a las 08:11, Giuseppe Greco escribió:

> 1. Isn't Socket a managed resource?

The Socket class holds a socket, that is an unmanaged resource. That's
why it's better to Close it explicitly instead of letting the GC do it.

-Gonzalo