2 // System.Net.Sockets.LingerOption.cs
12 namespace System.Net.Sockets
15 // Encapsulates a linger option.
17 public class LingerOption
19 // Don't change the names of these fields without also
20 // changing socket-io.c in the runtime
22 protected int seconds;
24 public LingerOption (bool enable, int secs)
32 get { return enabled; }
33 set { enabled = value; }
38 get { return seconds; }
39 set { seconds = value; }