2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System / System.Net.Sockets / SocketFlags.cs
index 6e5f088f6a125fc37936981509170c4b18b6dafb..2421e2db086f8f20ceac3755c7bf36b4487fda27 100644 (file)
@@ -1,21 +1,67 @@
+// SocketFlags.cs
 //
-// System.Net.Sockets.SocketFlags.cs
+// This code was automatically generated from
+// ECMA CLI XML Library Specification.
+// Generator: libgen.xsl [1.0; (C) Sergey Chaban (serge@wildwestsoftware.com)]
+// Created: Wed, 5 Sep 2001 06:32:49 UTC
+// Source file: AllTypes.xml
+// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
 //
-// Author:
-//   Andrew Sutton
+// (C) 2001 Ximian, Inc.  http://www.ximian.com
+
 //
-// (C) Andrew Sutton
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-namespace System.Net.Sockets
-{
-       public enum SocketFlags
-       {
-               DontRoute,
-               MaxIOVectorLength,
-               None,
-               OutOfBand,
-               Partial,
-               Peek
-       }
-}
\ No newline at end of file
+
+namespace System.Net.Sockets {
+
+
+       /// <summary>
+       /// </summary>
+       [Flags]
+       public enum SocketFlags {
+
+               /// <summary>
+               /// </summary>
+               None = 0x00000000,
+
+               /// <summary>
+               /// </summary>
+               OutOfBand = 0x00000001,
+
+               /// <summary>
+               /// </summary>
+               MaxIOVectorLength = 0x00000010,
+               
+               /// <summary>
+               /// </summary>
+               Peek = 0x00000002,
+
+               /// <summary>
+               /// </summary>
+               DontRoute = 0x00000004,
+
+               /// <summary>
+               /// </summary>
+               Partial = 0x00008000,
+       } // SocketFlags
+
+} // System.Net.Sockets