SocketOptionName.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. // SocketOptionName.cs
  2. //
  3. // This code was automatically generated from
  4. // ECMA CLI XML Library Specification.
  5. // Generator: libgen.xsl [1.0; (C) Sergey Chaban ([email protected])]
  6. // Created: Wed, 5 Sep 2001 06:33:02 UTC
  7. // Source file: AllTypes.xml
  8. // URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
  9. //
  10. // (C) 2001 Ximian, Inc. http://www.ximian.com
  11. //
  12. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. namespace System.Net.Sockets {
  32. /// <summary>
  33. /// </summary>
  34. public enum SocketOptionName {
  35. /// <summary>
  36. /// </summary>
  37. Debug = 1,
  38. /// <summary>
  39. /// </summary>
  40. AcceptConnection = 2,
  41. /// <summary>
  42. /// </summary>
  43. ReuseAddress = 4,
  44. /// <summary>
  45. /// </summary>
  46. KeepAlive = 8,
  47. /// <summary>
  48. /// </summary>
  49. DontRoute = 16,
  50. /// <summary>
  51. /// </summary>
  52. Broadcast = 32,
  53. /// <summary>
  54. /// </summary>
  55. UseLoopback = 64,
  56. /// <summary>
  57. /// </summary>
  58. Linger = 128,
  59. /// <summary>
  60. /// </summary>
  61. OutOfBandInline = 256,
  62. /// <summary>
  63. /// </summary>
  64. DontLinger = -129,
  65. /// <summary>
  66. /// </summary>
  67. ExclusiveAddressUse = -5,
  68. /// <summary>
  69. /// </summary>
  70. SendBuffer = 4097,
  71. /// <summary>
  72. /// </summary>
  73. ReceiveBuffer = 4098,
  74. /// <summary>
  75. /// </summary>
  76. SendLowWater = 4099,
  77. /// <summary>
  78. /// </summary>
  79. ReceiveLowWater = 4100,
  80. /// <summary>
  81. /// </summary>
  82. SendTimeout = 4101,
  83. /// <summary>
  84. /// </summary>
  85. ReceiveTimeout = 4102,
  86. /// <summary>
  87. /// </summary>
  88. Error = 4103,
  89. /// <summary>
  90. /// </summary>
  91. Type = 4104,
  92. /// <summary>
  93. /// </summary>
  94. MaxConnections = 2147483647,
  95. /// <summary>
  96. /// </summary>
  97. IPOptions = 1,
  98. /// <summary>
  99. /// </summary>
  100. HeaderIncluded = 2,
  101. /// <summary>
  102. /// </summary>
  103. TypeOfService = 3,
  104. /// <summary>
  105. /// </summary>
  106. IpTimeToLive = 4,
  107. /// <summary>
  108. /// </summary>
  109. MulticastInterface = 9,
  110. /// <summary>
  111. /// </summary>
  112. MulticastTimeToLive = 10,
  113. /// <summary>
  114. /// </summary>
  115. MulticastLoopback = 11,
  116. /// <summary>
  117. /// </summary>
  118. AddMembership = 12,
  119. /// <summary>
  120. /// </summary>
  121. DropMembership = 13,
  122. /// <summary>
  123. /// </summary>
  124. DontFragment = 14,
  125. /// <summary>
  126. /// </summary>
  127. AddSourceMembership = 15,
  128. /// <summary>
  129. /// </summary>
  130. DropSourceMembership = 16,
  131. /// <summary>
  132. /// </summary>
  133. BlockSource = 17,
  134. /// <summary>
  135. /// </summary>
  136. UnblockSource = 18,
  137. /// <summary>
  138. /// </summary>
  139. PacketInformation = 19,
  140. /// <summary>
  141. /// </summary>
  142. NoDelay = 1,
  143. /// <summary>
  144. /// </summary>
  145. BsdUrgent = 2,
  146. /// <summary>
  147. /// </summary>
  148. Expedited = 2,
  149. /// <summary>
  150. /// </summary>
  151. NoChecksum = 1,
  152. /// <summary>
  153. /// </summary>
  154. ChecksumCoverage = 20,
  155. #if NET_2_0
  156. HopLimit = 21,
  157. UpdateAcceptContext = 28683,
  158. UpdateConnectContext = 28688,
  159. #endif
  160. } // SocketOptionName
  161. } // System.Net.Sockets