ChangeLog 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. 2008-12-30 Bill Holmes <[email protected]>
  2. * Socket.cs (Accept_internal) : Changing the signature to pass
  3. the blocking state.
  4. Code is contributed under MIT/X11 license.
  5. 2008-12-20 Miguel de Icaza <[email protected]>
  6. * SocketException.cs: Add missing API.
  7. * SocketAsyncEventArgs.cs (Dispose): this has to be a public
  8. member according to the specs.
  9. 2008-12-20 Gonzalo Paniagua Javier <[email protected]>
  10. * Socket.cs: add a new ReceiveFrom_nocheck that does not throw an
  11. exception in case of error.
  12. 2008-12-20 Gonzalo Paniagua Javier <[email protected]>
  13. * Socket.cs: if Blocking is set, translate a WouldBlock into a
  14. TimedOut.
  15. 2008-12-03 Gonzalo Paniagua Javier <[email protected]>
  16. * UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
  17. will block anyway. Fixes bug #455894.
  18. 2008-11-12 Gonzalo Paniagua Javier <[email protected]>
  19. * Socket.cs: mark the socket as not connected when there is a pending
  20. error or exception about to be thrown.
  21. Bug #443346 fixed.
  22. 2008-09-10 Bill Holmes <[email protected]>
  23. * Socket.cs : Adding a comment to provide locations where
  24. changes to MonoSocketAsyncResult need to be synced.
  25. Code is contributed under MIT/X11 license.
  26. 2008-09-06 Atsushi Enomoto <[email protected]>
  27. * Socket.cs : (SocketAsyncResult) release byte buffer early so that
  28. it does not have to store extra data in pool. Fixed bug #397627.
  29. 2008-07-31 Jb Evain <[email protected]>
  30. * Socket.cs
  31. * NetworkStream.cs: cleanup for NET_2_1
  32. * SocketException_2_1.cs: new specific version for NET_2_1.
  33. 2008-06-19 Dick Porter <[email protected]>
  34. * Socket.cs: Implement generic Send() and Receive() methods.
  35. Fixes bug 395168.
  36. 2008-06-12 Stephane Delcroix <[email protected]>
  37. * Socket.cs: minimal changes to run in the 2.1 profile
  38. 2008-06-11 Stephane Delcroix <[email protected]>
  39. * SocketAsyncEventArgs.cs: catch SocketException in ConnectAsync
  40. and set the SocketError accordingly.
  41. 2008-05-09 Marek Habersack <[email protected]>
  42. * SocketAsyncEventArgs.cs: implemented support for executing
  43. asynchronous socket actions, called from the new xxxxAsync methods
  44. in Socket. The asynchronous operations do not use the ThreadPool
  45. as I can't get the sample applications to work (send/receive
  46. callbacks don't work) - it may change in the future.
  47. * Socket.cs: implemented several xxxxAsync 2.0sp1 methods. The
  48. ones not implemented for now are: ReceiveMessageFromAsync and
  49. SendPacketsAsync. AcceptAsync doesn't perform the check for the
  50. buffer size for now - need to implement runtime support for that.
  51. Made several methods internal, so that they can be accessed from
  52. SocketAsyncEventArgs code.
  53. 2008-05-08 Marek Habersack <[email protected]>
  54. * SocketAsyncOperation.cs, SendPacketsElement.cs,
  55. SocketAsyncEventArgs.cs: added initial implementations for
  56. 2.0SP1/3.5 classes used in the (to be implemented) new xxxAsync
  57. methods of the Socket class.
  58. 2008-04-17 Miguel de Icaza <[email protected]>
  59. * NetworkStream.cs: Throw an IOException if the socket is not
  60. connected, not an ArgumentException.
  61. Fixes #371923, it is also the way its documented on MSDN.
  62. 2008-04-13 Jb Evain <[email protected]>
  63. * Socket.cs: ifdef out the Sys.Config part for the
  64. 2.1 profile.
  65. Merged from the Moonlight 2 branch.
  66. Wed Mar 12 20:06:07 CET 2008 Paolo Molaro <[email protected]>
  67. * Socket.cs: add a static ctor so that ipv4Supported and ipv6Supported
  68. are initialized (they are used by the runtime).
  69. 2008-02-01 Dick Porter <[email protected]>
  70. * TcpClient.cs: If the Connect fails (when given an array of
  71. addresses) leave the socket object in a usable state. Fixes bug
  72. 355473.
  73. 2007-11-13 Atsushi Enomoto <[email protected]>
  74. * NetworkStream.cs : in 2.0 Close() is not needed and does not exist.
  75. 2007-11-01 Miguel de Icaza <[email protected]>
  76. * Socket.cs: Do not set the Send and Receive buffer sizes for the
  77. socket to the defaults set on Windows, they kill our performance.
  78. Thanks to Zoltan Varga for tracking the performance issue down.
  79. The bug was #325032
  80. 2007-10-30 Dick Porter <[email protected]>
  81. * UdpClient.cs: Don't set the multicast option twice. Fixes bug
  82. 324033.
  83. 2007-10-21 Robert Jordan <[email protected]>
  84. * Socket.cs: Remove GetHashCode override from the NET_2_0
  85. profile. Add LAMESPEC comment. Fixes bug #325113.
  86. 2007-09-22 Gert Driesen <[email protected]>
  87. * Socket.cs: Removed unused method.
  88. 2007-08-02 Dick Porter <[email protected]>
  89. * Socket.cs: Patch from Brian Nickel ([email protected]) to
  90. improve EndPoint handling.
  91. 2007-07-08 Gert Driesen <[email protected]>
  92. * Socket.cs: Code formatting. Marked not implemented methods as TODO.
  93. Removed extra spaces.
  94. 2007-07-04 Dick Porter <[email protected]>
  95. * Socket.cs: Don't set DontFragment by default for IPv6 sockets.
  96. Fixes bug 81985.
  97. 2007-05-16 Adar Wesley <[email protected]>
  98. * Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
  99. Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
  100. BeginReceiveMessageFrom, EndReceiveMessageFrom,
  101. EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive,
  102. EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
  103. DuplicateAndClose
  104. 2007-05-09 Igor Zelmanovich <[email protected]>
  105. * Socket.jvm.cs: Handle property throws NotImplementedException.
  106. 2007-05-09 Igor Zelmanovich <[email protected]>
  107. * NetworkStream.cs:
  108. * TcpClient.cs:
  109. * TcpListener.cs:
  110. * UdpClient.cs:
  111. added MonoNotSupported attribute for TARGATE_JVM.
  112. 2007-03-11 Gert Driesen <[email protected]>
  113. * TcpClient.cs: Do not initialize network stream in Connect. In
  114. Dispose, only nullify client if network stream was not obtained.
  115. Fixes bug #81105.
  116. 2007-01-30 Ilya Kharmatsky <ilyak -at- mainsoft.com>
  117. * Socket.jvm.cs: additional stubs for net_2_0 properties,
  118. bug fixes (EnsureStillUsable method inserted)
  119. 2007-01-28 Ilya Kharmatsky <ilyak -at- mainsoft.com>
  120. * Socket.jvm.cs: added stubs for net_2_0 properties and methods.
  121. 2007-01-26 Dick Porter <[email protected]>
  122. * Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile. Stub
  123. out BeginReceiveMessageFrom(), BeginSendFile(),
  124. EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
  125. SendFile().
  126. * IPPacketInformation.cs: New in the 2.0 profile
  127. * SocketFlags.cs: Remove useless (and empty) inline documentation,
  128. and add 2.0 items.
  129. * TcpListener.cs: Mark Server as public in the 2.0 profile.
  130. * UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
  131. profile.
  132. System.Net.Sockets should now be 2.0-complete.
  133. 2007-01-26 Dick Porter <[email protected]>
  134. * Socket.cs: There's no point checking the SO_ERROR status of a
  135. socket after poll() or select() if we already know that connected
  136. == true.
  137. 2007-01-24 Dick Porter <[email protected]>
  138. * IOControlCode.cs:
  139. * SocketInformationOptions.cs:
  140. * TransmitFileOptions.cs: Fix enum values
  141. * AddressFamily.cs: Not Serializable in the 2.0 profile
  142. 2007-01-24 Dick Porter <[email protected]>
  143. * NetworkStream.cs: 2.0 profile updates, based on a patch by
  144. Sridhar Kulkarni ([email protected])
  145. 2007-01-23 Dick Porter <[email protected]>
  146. * TcpListener.cs:
  147. * TcpClient.cs: 2.0 profile updates, based on a patch by Sridhar
  148. Kulkarni ([email protected])
  149. 2007-01-22 Miguel de Icaza <[email protected]>
  150. * Socket.cs: Move the throw new NotImplementedException ()
  151. elsewhere to prevent Moma reports.
  152. 2007-01-20 Dick Porter <[email protected]>
  153. * Socket.cs(SocketDefaults): Catch and ignore any SocketExceptions
  154. thrown from setting default socket options - some platforms might
  155. not support a particular default we're trying to set.
  156. 2007-01-11 Dick Porter <[email protected]>
  157. * IOControlCode.cs:
  158. * SocketInformation.cs:
  159. * Socket.cs:
  160. * UdpClient.cs: 2.0 profile updates, loosely based on a patch by
  161. Sridhar Kulkarni.
  162. * SocketInformationOptions.cs:
  163. * TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
  164. ([email protected])
  165. Wed Dec 13 12:04:02 CET 2006 Paolo Molaro <[email protected]>
  166. * Socket.cs: stub ReceiveBufferSize and SendBufferSize to
  167. get ironpython to compile.
  168. 2006-11-23 Dick Porter <[email protected]>
  169. * Socket.cs: Only set Connected = true in Poll() and Select() if
  170. the socket error status is 0. Fixes bug 79878.
  171. 2006-09-28 Andrew Skiba <[email protected]>
  172. * Socket.cs,NetworkStream.cs,SocketException.cs: TARGET_JVM
  173. 2006-09-11 Gonzalo Paniagua Javier <[email protected]>
  174. * Socket.cs: update the SocketOperation enum.
  175. 2006-08-16 Gonzalo Paniagua Javier <[email protected]>
  176. * Socket.cs: replace hardcoded error numbers with the SocketError
  177. values. When ReceiveTimeout is set on a blocking socket, correctly
  178. report timeouts in the generated exception.
  179. * SocketException.cs: add new internal ctor (int, string).
  180. 2006-08-12 Miguel de Icaza <[email protected]>
  181. * Socket.cs (NoDelay): Implement.
  182. 2006-06-30 Gonzalo Paniagua Javier <[email protected]>
  183. * Socket.cs: patch from Sanghyeon Seo that implements
  184. (Send|Receive)Timeout for 2.0.
  185. * MulticastOption.cs: more 2.0 stuff.
  186. 2006-06-28 Atsushi Enomoto <[email protected]>
  187. * Socket.cs : use ConfigurationManager.GetSection() under NET_2_0.
  188. Also make sure to avoid NRE.
  189. 2006-06-24 Zoltan Varga <[email protected]>
  190. * Socket.cs: Add stubs for net 2.0 SendTimeout and ReceiveTimeout properties.
  191. 2006-06-20 Zoltan Varga <[email protected]>
  192. * ProtocolType.cs SocketOptionName.cs: Add missing net 2.0 fields.
  193. 2006-05-30 Gert Driesen <[email protected]>
  194. * NetworkStream.cs: Marked Dispose (bool) virtual on 1.x profile.
  195. 2006-04-10 Gonzalo Paniagua Javier <[email protected]>
  196. * Socket.cs:
  197. * SocketError.cs: implemented Reseive/Send overloads that do not throw
  198. in case of error. Patch by Tomi Valkeinen.
  199. 2006-03-11 Miguel de Icaza <[email protected]>
  200. * NetworkStream.cs (Dispose): Use the right signature depending on
  201. the profile being built.
  202. 2006-03-09 Gonzalo Paniagua Javier <[email protected]>
  203. * Socket.cs: pass something not empty to the unixep ctor.
  204. 2006-03-03 Dick Porter <[email protected]>
  205. * UdpClient.cs: Fix IPv6 family check. Fixes bug 77689.
  206. 2006-02-23 Gonzalo Paniagua Javier <[email protected]>
  207. * TcpClient.cs: when the socket is not connected, don't try to set the
  208. socket options, as they are ignored on linux. Wait until Connect
  209. succeeds and then apply the options.
  210. 2006-02-03 Gonzalo Paniagua Javier <[email protected]>
  211. * Socket.cs: added a missing overload for SetSocketOption.
  212. 2006-01-19 Gonzalo Paniagua Javier <[email protected]>
  213. * Socket.cs: use the 2.0 configuration classes when checking for IPv6
  214. support.
  215. 2006-01-04 Sebastien Pouliot <[email protected]>
  216. * TcpClient.cs: The Client property is public in 2.0 while it was
  217. protected in earlier release. Fix bug #77048.
  218. 2005-12-07 Robert Jordan <[email protected]>
  219. * SocketError.cs: Added.
  220. * SocketException: Implemented SocketErrorCode. Fixes bug #76915.
  221. 2005-10-11 Dick Porter <[email protected]>
  222. * Socket.cs: Don't call connect(2) twice for non-blocking sockets,
  223. it breaks on macos (and probably other bsd-based stacks too,) use
  224. poll() and getsockopt() to check if it worked.
  225. 2005-09-27 Gonzalo Paniagua Javier <[email protected]>
  226. * Socket.cs: add checks for 'disposed' all over. Fixes bug #76249.
  227. 2005-06-07 Gonzalo Paniagua Javier <[email protected]>
  228. * TcpClient.cs: patch by Hans Kratz that uses an integer when setting
  229. NoDelay instead of a bool, which is only handled in 2.0.
  230. 2005-06-04 Gonzalo Paniagua Javier <[email protected]>
  231. * Socket.cs: disallow connecting to .Any addresses. Fixes bug #75154.
  232. 2005-06-01 Gonzalo Paniagua Javier <[email protected]>
  233. * Socket.cs: adapted Select to the new Select_internal that uses poll()
  234. instead of select(). Managed part of the fix for bug #71203.
  235. 2005-05-23 Gonzalo Paniagua Javier <[email protected]>
  236. * Socket.cs: apply the same hack on blocking Connect calls as the one
  237. used in Accept.
  238. 2005-05-07 Gonzalo Paniagua Javier <[email protected]>
  239. * Socket.cs: see bug #74842, which is fixed with this patch for details
  240. and test cases on the blocking behavior of accept() when close() is
  241. called from another thread. The solution applied is to Abort the thread
  242. that is blocking in Accept_internal() when someone calls Close (), then
  243. reset the abort state if the socket is disposed and return the same
  244. error as MS (10004 - interrupted).
  245. 2005-05-06 Gonzalo Paniagua Javier <[email protected]>
  246. * Socket.cs: match MS behavior on SetSocketOption with a boolean
  247. argument. MS 1.1 throws an ArgumentException, but 2.0 turns true/false
  248. into 1/0 and works fine. Fixes bug #71753. Added checks for disposed
  249. in the 3 SetSocketOption.
  250. 2005-05-03 Gonzalo Paniagua Javier <[email protected]>
  251. * Socket.cs: if there are outstanding aio requests and one of them gets
  252. an ObjectDisposedException, throw the same exception for the rest.
  253. 2005-05-02 Gonzalo Paniagua Javier <[email protected]>
  254. * Socket.cs: removed hack added to fix bug #53229 (more than a year ago)
  255. that kept sockets opened until all AIO operations where finished. If
  256. the socket is closed, Receive returns 0 in EndReceive, the rest throw
  257. the ObjectDisposedException. Set the socket handle to -1 when closing.
  258. 2005-04-18 Gonzalo Paniagua Javier <[email protected]>
  259. * Socket.cs: Begin/End Send/SendTo guarantee that all bytes are written
  260. or an exception is thrown. Fixes bug #74475.
  261. 2005-04-17 Gonzalo Paniagua Javier <[email protected]>
  262. * Socket.cs: no need for locking in Worker. The actual read / write for
  263. Receive / Send is performed in the runtime time.
  264. 2005-04-15 Gonzalo Paniagua Javier <[email protected]>
  265. * Socket.cs: added a 'blocking' field that is passed to the runtime.
  266. 2005-04-09 Gonzalo Paniagua Javier <[email protected]>
  267. * Socket.cs: invoke the callback after scheduling the next request for
  268. the socket. Fixes bug #74539.
  269. 2005-04-08 Gonzalo Paniagua Javier <[email protected]>
  270. * Socket.cs: update socket connected status in an async request finishes
  271. synchronously. Use 'callback' instead of 'real_callback' field, which is
  272. now unused.
  273. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  274. * Socket.cs: added SocketOperation enum and 2 new fields to
  275. SocketAsyncResult that are used by the runtime. Asynchronous read/write
  276. are serialized so that only 1 of each kind is really 'active'.
  277. Handle non-blocking connects in BeginConnect instead of doing 2 Poll()
  278. in the threadpool.
  279. * NetworkStream.cs: better message for the exception.
  280. 2005-04-04 Gonzalo Paniagua Javier <[email protected]>
  281. * Socket.cs: remove unused async IO code.
  282. 2005-03-01 Gonzalo Paniagua Javier <[email protected]>
  283. * Socket.cs: don't Poll/block in Connect aither.
  284. 2005-02-28 Gonzalo Paniagua Javier <[email protected]>
  285. * Socket.cs: don't block on Accept if the socket is non-blocking.
  286. Fixes bug #73053. Patch by Ankit Jain.
  287. 2005-02-23 Dick Porter <[email protected]>
  288. * UdpClient.cs: Set the Broadcast option, as apparently the MS
  289. runtime defaults make UDP sockets broadcastable.
  290. 2004-12-28 Gonzalo Paniagua Javier <[email protected]>
  291. * Socket.cs: for Receive*/Send*, don't set the connected status to false
  292. when the error is EINPROGRESS or EWOULDBLOCK.
  293. 2004-12-03 Gonzalo Paniagua Javier <[email protected]>
  294. * NetworkStream.cs: Write should ensure that writes all the contents
  295. of the buffer. Fixes bug #70123. Besos para Miguelito.
  296. 2004-10-14 Dick Porter <[email protected]>
  297. * Socket.cs (Sockets ): Set Accept()ed socket blocking status to
  298. be the same as the listening socket. This follows MS behaviour.
  299. 2004-08-04 Dick Porter <[email protected]>
  300. * Socket.cs: Update Connected state in Select and Poll; this is
  301. when we find out that non-blocking Connects succeed. Fixes bug
  302. 62398.
  303. 2004-07-28 Dick Porter <[email protected]>
  304. * Socket.cs: ReceiveFrom might not return a valid EndPoint. Patch
  305. by Nick Vaughan ([email protected]), fixes bug 61608.
  306. 2004-07-15 Dick Porter <[email protected]>
  307. * Socket.cs: Don't try and dereference a null array in Select()
  308. (possible if a descriptor list of length 0 was passed.) Patch by
  309. Nick Vaughan ([email protected]), fixes bug 61595.
  310. 2004-07-12 Gonzalo Paniagua Javier <[email protected]>
  311. * Socket.cs: if'ed RemoveReferences calls.
  312. 2004-07-09 Dick Porter <[email protected]>
  313. * Socket.cs: Slight tweak to allow unknown objects to be returned
  314. by GetSocketOption().
  315. 2004-06-28 Gonzalo Paniagua Javier <[email protected]>
  316. * Socket.cs: connect on non-blocking sockets returns EINPROGRESS. Fixes
  317. bug #60811.
  318. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  319. * Socket.cs: wrong error code in connect and accept. EWOULDBLOCK is
  320. 10035. Fixes bug #60563.
  321. 2004-06-20 Gonzalo Paniagua Javier <[email protected]>
  322. * Socket.cs: fixed Accept for non-blocking sockets.
  323. 2004-06-10 Gert Driesen <[email protected]>
  324. * LingerOption.cs: marked field private to fix API signature
  325. * MulticastOption.cs: marked field private to fix API signature
  326. 2004-06-05 Gonzalo Paniagua Javier <[email protected]>
  327. * Socket.cs: throw ArgumentNullException if all the list are null OR
  328. empty. Fixes bug #59632.
  329. 2004-05-21 Patrik Torstensson <[email protected]>
  330. * TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.
  331. (AcceptTcpClient): Don't create TcpClient before a
  332. connection is accepted.
  333. (LocalEndPoint): Use Server LocalEndPoint if connected
  334. otherwise use endpoint from ctor.
  335. (Init): Save end point, not server endpoint. This did
  336. cause TcpListener to ignore port sent via constructor.
  337. (Pending): Fixed wait time (method should return directly)
  338. (Start): Moved Bind here instead of Init method; old method
  339. caused us to bind ports even if the listener was stopped.
  340. (Stop): Null server when stopping
  341. 2004-05-13 Dick Porter <[email protected]>
  342. * UdpClient.cs:
  343. * TcpClient.cs: Public API fixes
  344. 2004-05-07 Gonzalo Paniagua Javier <[email protected]>
  345. * Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.
  346. 2004-05-03 Gonzalo Paniagua Javier <[email protected]>
  347. * Socket.cs: fix for BeginConnect and non-blocking sockets.
  348. 2004-05-03 Lluis Sanchez Gual <[email protected]>
  349. * Socket.cs: Use assembly name const to load Mono.Posix.
  350. 2004-05-01 Gonzalo Paniagua Javier <[email protected]>
  351. * Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
  352. I will remove this once THE bug is hunted.
  353. 2004-04-28 Gonzalo Paniagua Javier <[email protected]>
  354. * Socket.cs: added support for unmanaged asynchronous IO. Speed up
  355. error checking.
  356. * UdpClient.cs: fixed Dispose so that it only closes the socket when
  357. called explicitly.
  358. 2004-04-24 Gonzalo Paniagua Javier <[email protected]>
  359. * Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
  360. Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
  361. when the socket is non-blocking before getting EWOULDBLOCK error.
  362. 2004-04-08 Dick Porter <[email protected]>
  363. * Socket.cs: Rearrange the internal calls so that the exceptions
  364. are thrown from managed code
  365. 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
  366. * Socket.cs: when Dispose (bool) is called from the finalizer, always
  367. do the cleanup. Fixes yet another nullref with xsp.
  368. 2004-02-19 Gonzalo Paniagua Javier <[email protected]>
  369. * Socket.cs: implemented IOControl.
  370. 2004-02-18 Gonzalo Paniagua Javier <[email protected]>
  371. * Socket.cs: use the threadpool for asynchronous calls instead of
  372. creating new threads.
  373. 2004-02-12 Gonzalo Paniagua Javier <[email protected]>
  374. * Socket.cs: added locks around waithandle assign and comparison in
  375. class Worker. Handle other exceptions than SocketException for
  376. non-blocking sockets.
  377. 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
  378. * Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
  379. bug #53168. Avoid the creation of the ManualResetEvent in class Worker
  380. whenever possible.
  381. 2004-01-24 Gonzalo Paniagua Javier <[email protected]>
  382. * Socket.cs: if we have a pending async event, delay socket closing
  383. until EndX is called. Fixes bug #53229. Check parameters and if the
  384. socket has been disposed. Implemented IDisposable explicitly. The
  385. threads created have IsBackground = true now.
  386. 2004-01-10 Gonzalo Paniagua Javier <[email protected]>
  387. * Socket.cs: patch from Brad Fitzpatrick <[email protected]> episode 2.
  388. 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
  389. * Socket.cs: fix for several asynchronous methods to delay exception
  390. throwing. Patch by Brad Fitzpatrick <[email protected]>.
  391. 2003-12-18 Gonzalo Paniagua Javier <[email protected]>
  392. * TcpListener.cs: get the LocalEndPoint from the socket after binding.
  393. Fixes bug #52329.
  394. 2003-10-20 Miguel de Icaza <[email protected]>
  395. * TcpClient.cs: Fix void Dispose (bool disposing) to follow the
  396. pattern. It was shutting down the managed resources even in the
  397. finalizer case, it should only do that when called from
  398. IDisposable.Dipose.
  399. 2003-09-11 Lluis Sanchez Gual <[email protected]>
  400. * NetworkStream.cs: Added [In,Out] attributes to Read method.
  401. 2003-08-24 Gonzalo Paniagua Javier <[email protected]>
  402. * TcpListener.cs: various fixes to make the new tests pass. Closes
  403. bug #47848.
  404. 2003-08-10 Miguel de Icaza <[email protected]>
  405. * UdpClient.cs (Receive): Fix Bug 45633; We should do a blocking
  406. call until a datagram is arrives from the remote host. This
  407. removes the 512 "magic" buffer size when we did not have any data.
  408. 2003-07-31 Gonzalo Paniagua Javier <[email protected]>
  409. * NetworkStream.cs:
  410. * Socket.cs: fixed array boundary checks. 0 sized arrays are allowed.
  411. 2003-07-18 Andreas Nahr <[email protected]>
  412. * Socket.cs: Added GetHashCode method
  413. 2003-07-14 Jerome Laban <[email protected]>
  414. * Socket.cs:
  415. * ProtocolType.cs:
  416. * SocketOptionLevel.cs:
  417. * TcpListener.cs:
  418. * TcpClient.cs:
  419. * UdpClient.cs:
  420. Added IPv6 support.
  421. * IPv6MulticastOption.cs: Added for IPv6 support.
  422. 2003-05-16 Dick Porter <[email protected]>
  423. * Socket.cs: Use Mono.Posix.UnixEndPoint if its available
  424. 2003-05-11 Gonzalo Paniagua Javier <[email protected]>
  425. * MulticastOption.cs: patch by Jerome Laban included in bug #42393.
  426. 2003-05-05 Gonzalo Paniagua Javier <[email protected]>
  427. * Socket.cs:
  428. (Select): don't create arrays if not needed.
  429. (Poll): call Select_internal directly.
  430. Warning: you need an up to date runtime for this to work!
  431. 2003-03-25 Gonzalo Paniagua Javier <[email protected]>
  432. * UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
  433. Added more checks and throws.
  434. Small fixes in Send to avoid duplicating the buffer.
  435. Moved CheckIfDisposed calls to the start of the methods instead of doing
  436. the check inside a finally clause.
  437. 2003-03-03 Gonzalo Paniagua Javier <[email protected]>
  438. * Socket.cs:
  439. (SendTo): fix from Jerome Laban <[email protected]>.
  440. 2003-02-28 Gonzalo Paniagua Javier <[email protected]>
  441. * Socket.cs: patch from Elan Feingold <[email protected]>. Fixes
  442. NullReferenceException when the callback is null.
  443. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  444. * NetworkStream.cs: allow 0 size array in Write.
  445. 2003-02-16 Gonzalo Paniagua Javier <[email protected]>
  446. * Socket.cs: make Worker.Connect and Receive work with non-blocking
  447. sockets. May be Receive* and Send* in Worker need to do the same. I'll
  448. wait for bug reports. Set IsCompleted to true before invoking the end
  449. callback. Fixes bug #38136.
  450. 2003-01-23 Gonzalo Paniagua Javier <[email protected]>
  451. * NetworkStream.cs: the check for disposed should not be done in the
  452. finally clause.
  453. 2003-01-04 Gonzalo Paniagua Javier <[email protected]>
  454. * UdpClient.cs: fixed bug #36226.
  455. 2002-11-13 Dick Porter <[email protected]>
  456. * Socket.cs: Only close the socket in one place, ie the Dispose
  457. method. Fixes bug 32054.
  458. 2002-11-09 Gonzalo Paniagua Javier <[email protected]>
  459. * Socket.cs: offset == size == 0 it's ok in Send ().
  460. 2002-11-03 Phillip Pearson <[email protected]>
  461. * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client
  462. property, which now sets stream to null (it's set by GetStream()). This
  463. should make GetStream() work on a TcpClient which has had the socket set
  464. by assignment to the Client property, not only one that has been created
  465. by TcpListener.AcceptTcpClient().
  466. 2002-10-08 Dick Porter <[email protected]>
  467. * Socket.cs:
  468. * NetworkStream.cs: Bounds checking fixes, and better exception
  469. texts. Changes by [email protected] (Timothy J. Mills).
  470. 2002-10-03 Dick Porter <[email protected]>
  471. * TcpClient.cs: NoDelay is a TCP option, not Socket
  472. 2002-09-16 Miguel de Icaza <[email protected]>
  473. * SocketFlags.cs: Add missing enumeration.
  474. * UdpClient.cs: Make Dispose private.
  475. 2002-08-20 Dick Porter <[email protected]>
  476. * Socket.cs: Fix deadlock when the AsyncResult callback calls
  477. End*(). Set the async request's worker property so it can return
  478. results. These two fixes combined fix bug 28092.
  479. 2002-06-24 Dick Porter <[email protected]>
  480. * Socket.cs: Make SetSocketOption cope with boolean values (they
  481. are passed as objects, not the ints the runtime was expecting)
  482. 2002-05-17 Lawrence Pit <[email protected]>
  483. * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
  484. * NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
  485. routines, added checks for disposed state.
  486. * UdpClient.cs: commented out GetHashCode and Equals as it's not
  487. overriden in ms.net implementation.
  488. 2002-05-17 Jaroslaw Kowalski <[email protected]>
  489. * TcpClient.cs: fixed SetTcpClient so that
  490. TcpListener.AcceptTcpClient works and allows
  491. you to call GetStream() on its result
  492. 2002-04-24 Dick Porter <[email protected]>
  493. * Socket.cs (Poll): Give correct argument to Select(), as spotted
  494. by Jaroslaw Kowalski <[email protected]>
  495. 2002-04-16 Gonzalo Paniagua Javier <[email protected]>
  496. * UdpClient.cs: implemented.
  497. 2002-04-02 Dick Porter <[email protected]>
  498. * TcpListener.cs: in Start(), set the socket listen backlog value
  499. to a sane value (noticed by Jonathan Stowe <[email protected]>)
  500. 2002-02-13 Dick Porter <[email protected]>
  501. * Socket.cs: Implemenent Select, Blocking, Connected,
  502. GetSocketOption, Poll, SetSocketOption and Shutdown
  503. * MulticastOption.cs:
  504. * LingerOption.cs: Delete override methods that don't need to be
  505. implemented
  506. 2002-01-23 Miguel de Icaza <[email protected]>
  507. * NetworkStream.cs: Implement class.
  508. 2002-01-23 Dick Porter <[email protected]>
  509. * SocketException.cs: Implemented
  510. * Socket.cs: Implemented most methods
  511. * LingerOption.cs: Made compile
  512. * AddressFamily.cs: Removed empty auto-generated comments
  513. 2002-01-17 Miguel de Icaza <[email protected]>
  514. * SocketException.cs: Reimplemented.
  515. 2002-01-06 Ravi Pratap <[email protected]>
  516. * ChangeLog : Add to this directory.
  517. * SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
  518. attribute decoration.