ChangeLog 23 KB

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