Public feed #2133939

Anonymous

public text v1 · immutable
Raw Edit
·published 2012-03-30 11:27 UTC
rendered paste body
        public static void Destroy(this Socket socket) {
            if (socket != null) {
                try {
                    socket.Close(100);
#if !MONO
                    socket.Dispose();
#endif
                }
                catch { }
            }
        }