1 2008-09-06 Atsushi Enomoto <atsushi@ximian.com>
3 * Socket.cs : (SocketAsyncResult) release byte buffer early so that
4 it does not have to store extra data in pool. Fixed bug #397627.
6 2008-07-31 Jb Evain <jbevain@novell.com>
9 * NetworkStream.cs: cleanup for NET_2_1
11 * SocketException_2_1.cs: new specific version for NET_2_1.
13 2008-06-19 Dick Porter <dick@ximian.com>
15 * Socket.cs: Implement generic Send() and Receive() methods.
18 2008-06-12 Stephane Delcroix <sdelcroix@novell.com>
20 * Socket.cs: minimal changes to run in the 2.1 profile
22 2008-06-11 Stephane Delcroix <sdelcroix@novell.com>
24 * SocketAsyncEventArgs.cs: catch SocketException in ConnectAsync
25 and set the SocketError accordingly.
27 2008-05-09 Marek Habersack <mhabersack@novell.com>
29 * SocketAsyncEventArgs.cs: implemented support for executing
30 asynchronous socket actions, called from the new xxxxAsync methods
31 in Socket. The asynchronous operations do not use the ThreadPool
32 as I can't get the sample applications to work (send/receive
33 callbacks don't work) - it may change in the future.
35 * Socket.cs: implemented several xxxxAsync 2.0sp1 methods. The
36 ones not implemented for now are: ReceiveMessageFromAsync and
37 SendPacketsAsync. AcceptAsync doesn't perform the check for the
38 buffer size for now - need to implement runtime support for that.
39 Made several methods internal, so that they can be accessed from
40 SocketAsyncEventArgs code.
42 2008-05-08 Marek Habersack <mhabersack@novell.com>
44 * SocketAsyncOperation.cs, SendPacketsElement.cs,
45 SocketAsyncEventArgs.cs: added initial implementations for
46 2.0SP1/3.5 classes used in the (to be implemented) new xxxAsync
47 methods of the Socket class.
49 2008-04-17 Miguel de Icaza <miguel@novell.com>
51 * NetworkStream.cs: Throw an IOException if the socket is not
52 connected, not an ArgumentException.
54 Fixes #371923, it is also the way its documented on MSDN.
56 2008-04-13 Jb Evain <jbevain@novell.com>
58 * Socket.cs: ifdef out the Sys.Config part for the
60 Merged from the Moonlight 2 branch.
62 Wed Mar 12 20:06:07 CET 2008 Paolo Molaro <lupus@ximian.com>
64 * Socket.cs: add a static ctor so that ipv4Supported and ipv6Supported
65 are initialized (they are used by the runtime).
67 2008-02-01 Dick Porter <dick@ximian.com>
69 * TcpClient.cs: If the Connect fails (when given an array of
70 addresses) leave the socket object in a usable state. Fixes bug
73 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
75 * NetworkStream.cs : in 2.0 Close() is not needed and does not exist.
77 2007-11-01 Miguel de Icaza <miguel@novell.com>
79 * Socket.cs: Do not set the Send and Receive buffer sizes for the
80 socket to the defaults set on Windows, they kill our performance.
82 Thanks to Zoltan Varga for tracking the performance issue down.
85 2007-10-30 Dick Porter <dick@ximian.com>
87 * UdpClient.cs: Don't set the multicast option twice. Fixes bug
90 2007-10-21 Robert Jordan <robertj@gmx.net>
92 * Socket.cs: Remove GetHashCode override from the NET_2_0
93 profile. Add LAMESPEC comment. Fixes bug #325113.
95 2007-09-22 Gert Driesen <drieseng@users.sourceforge.net>
97 * Socket.cs: Removed unused method.
99 2007-08-02 Dick Porter <dick@ximian.com>
101 * Socket.cs: Patch from Brian Nickel (brian.nickel@gmail.com) to
102 improve EndPoint handling.
104 2007-07-08 Gert Driesen <drieseng@users.sourceforge.net>
106 * Socket.cs: Code formatting. Marked not implemented methods as TODO.
107 Removed extra spaces.
109 2007-07-04 Dick Porter <dick@ximian.com>
111 * Socket.cs: Don't set DontFragment by default for IPv6 sockets.
114 2007-05-16 Adar Wesley <adarw@mainsoft.com>
116 * Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
117 Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
118 BeginReceiveMessageFrom, EndReceiveMessageFrom,
119 EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive,
120 EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
123 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
125 * Socket.jvm.cs: Handle property throws NotImplementedException.
127 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
133 added MonoNotSupported attribute for TARGATE_JVM.
135 2007-03-11 Gert Driesen <drieseng@users.sourceforge.net>
137 * TcpClient.cs: Do not initialize network stream in Connect. In
138 Dispose, only nullify client if network stream was not obtained.
141 2007-01-30 Ilya Kharmatsky <ilyak -at- mainsoft.com>
143 * Socket.jvm.cs: additional stubs for net_2_0 properties,
144 bug fixes (EnsureStillUsable method inserted)
146 2007-01-28 Ilya Kharmatsky <ilyak -at- mainsoft.com>
148 * Socket.jvm.cs: added stubs for net_2_0 properties and methods.
150 2007-01-26 Dick Porter <dick@ximian.com>
152 * Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile. Stub
153 out BeginReceiveMessageFrom(), BeginSendFile(),
154 EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
157 * IPPacketInformation.cs: New in the 2.0 profile
159 * SocketFlags.cs: Remove useless (and empty) inline documentation,
162 * TcpListener.cs: Mark Server as public in the 2.0 profile.
164 * UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
167 System.Net.Sockets should now be 2.0-complete.
169 2007-01-26 Dick Porter <dick@ximian.com>
171 * Socket.cs: There's no point checking the SO_ERROR status of a
172 socket after poll() or select() if we already know that connected
175 2007-01-24 Dick Porter <dick@ximian.com>
178 * SocketInformationOptions.cs:
179 * TransmitFileOptions.cs: Fix enum values
181 * AddressFamily.cs: Not Serializable in the 2.0 profile
183 2007-01-24 Dick Porter <dick@ximian.com>
185 * NetworkStream.cs: 2.0 profile updates, based on a patch by
186 Sridhar Kulkarni (sridharkulkarni@gmail.com)
188 2007-01-23 Dick Porter <dick@ximian.com>
191 * TcpClient.cs: 2.0 profile updates, based on a patch by Sridhar
192 Kulkarni (sridharkulkarni@gmail.com)
194 2007-01-22 Miguel de Icaza <miguel@novell.com>
196 * Socket.cs: Move the throw new NotImplementedException ()
197 elsewhere to prevent Moma reports.
199 2007-01-20 Dick Porter <dick@ximian.com>
201 * Socket.cs(SocketDefaults): Catch and ignore any SocketExceptions
202 thrown from setting default socket options - some platforms might
203 not support a particular default we're trying to set.
205 2007-01-11 Dick Porter <dick@ximian.com>
208 * SocketInformation.cs:
210 * UdpClient.cs: 2.0 profile updates, loosely based on a patch by
213 * SocketInformationOptions.cs:
214 * TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
215 (sridharkulkarni@gmail.com)
217 Wed Dec 13 12:04:02 CET 2006 Paolo Molaro <lupus@ximian.com>
219 * Socket.cs: stub ReceiveBufferSize and SendBufferSize to
220 get ironpython to compile.
222 2006-11-23 Dick Porter <dick@ximian.com>
224 * Socket.cs: Only set Connected = true in Poll() and Select() if
225 the socket error status is 0. Fixes bug 79878.
227 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
229 * Socket.cs,NetworkStream.cs,SocketException.cs: TARGET_JVM
231 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
233 * Socket.cs: update the SocketOperation enum.
235 2006-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
237 * Socket.cs: replace hardcoded error numbers with the SocketError
238 values. When ReceiveTimeout is set on a blocking socket, correctly
239 report timeouts in the generated exception.
241 * SocketException.cs: add new internal ctor (int, string).
243 2006-08-12 Miguel de Icaza <miguel@novell.com>
245 * Socket.cs (NoDelay): Implement.
247 2006-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
249 * Socket.cs: patch from Sanghyeon Seo that implements
250 (Send|Receive)Timeout for 2.0.
251 * MulticastOption.cs: more 2.0 stuff.
253 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
255 * Socket.cs : use ConfigurationManager.GetSection() under NET_2_0.
256 Also make sure to avoid NRE.
258 2006-06-24 Zoltan Varga <vargaz@gmail.com>
260 * Socket.cs: Add stubs for net 2.0 SendTimeout and ReceiveTimeout properties.
262 2006-06-20 Zoltan Varga <vargaz@gmail.com>
264 * ProtocolType.cs SocketOptionName.cs: Add missing net 2.0 fields.
266 2006-05-30 Gert Driesen <drieseng@users.sourceforge.net>
268 * NetworkStream.cs: Marked Dispose (bool) virtual on 1.x profile.
270 2006-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
273 * SocketError.cs: implemented Reseive/Send overloads that do not throw
274 in case of error. Patch by Tomi Valkeinen.
276 2006-03-11 Miguel de Icaza <miguel@novell.com>
278 * NetworkStream.cs (Dispose): Use the right signature depending on
279 the profile being built.
281 2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * Socket.cs: pass something not empty to the unixep ctor.
285 2006-03-03 Dick Porter <dick@ximian.com>
287 * UdpClient.cs: Fix IPv6 family check. Fixes bug 77689.
289 2006-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
291 * TcpClient.cs: when the socket is not connected, don't try to set the
292 socket options, as they are ignored on linux. Wait until Connect
293 succeeds and then apply the options.
295 2006-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297 * Socket.cs: added a missing overload for SetSocketOption.
299 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301 * Socket.cs: use the 2.0 configuration classes when checking for IPv6
304 2006-01-04 Sebastien Pouliot <sebastien@ximian.com>
306 * TcpClient.cs: The Client property is public in 2.0 while it was
307 protected in earlier release. Fix bug #77048.
309 2005-12-07 Robert Jordan <robertj@gmx.net>
311 * SocketError.cs: Added.
312 * SocketException: Implemented SocketErrorCode. Fixes bug #76915.
314 2005-10-11 Dick Porter <dick@ximian.com>
316 * Socket.cs: Don't call connect(2) twice for non-blocking sockets,
317 it breaks on macos (and probably other bsd-based stacks too,) use
318 poll() and getsockopt() to check if it worked.
320 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322 * Socket.cs: add checks for 'disposed' all over. Fixes bug #76249.
324 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326 * TcpClient.cs: patch by Hans Kratz that uses an integer when setting
327 NoDelay instead of a bool, which is only handled in 2.0.
329 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
331 * Socket.cs: disallow connecting to .Any addresses. Fixes bug #75154.
333 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
335 * Socket.cs: adapted Select to the new Select_internal that uses poll()
336 instead of select(). Managed part of the fix for bug #71203.
338 2005-05-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
340 * Socket.cs: apply the same hack on blocking Connect calls as the one
343 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
345 * Socket.cs: see bug #74842, which is fixed with this patch for details
346 and test cases on the blocking behavior of accept() when close() is
347 called from another thread. The solution applied is to Abort the thread
348 that is blocking in Accept_internal() when someone calls Close (), then
349 reset the abort state if the socket is disposed and return the same
350 error as MS (10004 - interrupted).
352 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
354 * Socket.cs: match MS behavior on SetSocketOption with a boolean
355 argument. MS 1.1 throws an ArgumentException, but 2.0 turns true/false
356 into 1/0 and works fine. Fixes bug #71753. Added checks for disposed
357 in the 3 SetSocketOption.
359 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
361 * Socket.cs: if there are outstanding aio requests and one of them gets
362 an ObjectDisposedException, throw the same exception for the rest.
364 2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
366 * Socket.cs: removed hack added to fix bug #53229 (more than a year ago)
367 that kept sockets opened until all AIO operations where finished. If
368 the socket is closed, Receive returns 0 in EndReceive, the rest throw
369 the ObjectDisposedException. Set the socket handle to -1 when closing.
371 2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
373 * Socket.cs: Begin/End Send/SendTo guarantee that all bytes are written
374 or an exception is thrown. Fixes bug #74475.
376 2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
378 * Socket.cs: no need for locking in Worker. The actual read / write for
379 Receive / Send is performed in the runtime time.
381 2005-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
383 * Socket.cs: added a 'blocking' field that is passed to the runtime.
385 2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * Socket.cs: invoke the callback after scheduling the next request for
388 the socket. Fixes bug #74539.
390 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
392 * Socket.cs: update socket connected status in an async request finishes
393 synchronously. Use 'callback' instead of 'real_callback' field, which is
396 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
398 * Socket.cs: added SocketOperation enum and 2 new fields to
399 SocketAsyncResult that are used by the runtime. Asynchronous read/write
400 are serialized so that only 1 of each kind is really 'active'.
401 Handle non-blocking connects in BeginConnect instead of doing 2 Poll()
404 * NetworkStream.cs: better message for the exception.
406 2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
408 * Socket.cs: remove unused async IO code.
410 2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
412 * Socket.cs: don't Poll/block in Connect aither.
414 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
416 * Socket.cs: don't block on Accept if the socket is non-blocking.
417 Fixes bug #73053. Patch by Ankit Jain.
419 2005-02-23 Dick Porter <dick@ximian.com>
421 * UdpClient.cs: Set the Broadcast option, as apparently the MS
422 runtime defaults make UDP sockets broadcastable.
424 2004-12-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
426 * Socket.cs: for Receive*/Send*, don't set the connected status to false
427 when the error is EINPROGRESS or EWOULDBLOCK.
429 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
431 * NetworkStream.cs: Write should ensure that writes all the contents
432 of the buffer. Fixes bug #70123. Besos para Miguelito.
434 2004-10-14 Dick Porter <dick@ximian.com>
436 * Socket.cs (Sockets ): Set Accept()ed socket blocking status to
437 be the same as the listening socket. This follows MS behaviour.
439 2004-08-04 Dick Porter <dick@ximian.com>
441 * Socket.cs: Update Connected state in Select and Poll; this is
442 when we find out that non-blocking Connects succeed. Fixes bug
445 2004-07-28 Dick Porter <dick@ximian.com>
447 * Socket.cs: ReceiveFrom might not return a valid EndPoint. Patch
448 by Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug 61608.
450 2004-07-15 Dick Porter <dick@ximian.com>
452 * Socket.cs: Don't try and dereference a null array in Select()
453 (possible if a descriptor list of length 0 was passed.) Patch by
454 Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug 61595.
456 2004-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
458 * Socket.cs: if'ed RemoveReferences calls.
460 2004-07-09 Dick Porter <dick@ximian.com>
462 * Socket.cs: Slight tweak to allow unknown objects to be returned
463 by GetSocketOption().
465 2004-06-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
467 * Socket.cs: connect on non-blocking sockets returns EINPROGRESS. Fixes
470 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * Socket.cs: wrong error code in connect and accept. EWOULDBLOCK is
473 10035. Fixes bug #60563.
475 2004-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
477 * Socket.cs: fixed Accept for non-blocking sockets.
479 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
481 * LingerOption.cs: marked field private to fix API signature
482 * MulticastOption.cs: marked field private to fix API signature
484 2004-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
486 * Socket.cs: throw ArgumentNullException if all the list are null OR
487 empty. Fixes bug #59632.
489 2004-05-21 Patrik Torstensson <totte@hiddenpeaks.com>
491 * TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.
493 (AcceptTcpClient): Don't create TcpClient before a
494 connection is accepted.
496 (LocalEndPoint): Use Server LocalEndPoint if connected
497 otherwise use endpoint from ctor.
499 (Init): Save end point, not server endpoint. This did
500 cause TcpListener to ignore port sent via constructor.
502 (Pending): Fixed wait time (method should return directly)
504 (Start): Moved Bind here instead of Init method; old method
505 caused us to bind ports even if the listener was stopped.
507 (Stop): Null server when stopping
509 2004-05-13 Dick Porter <dick@ximian.com>
512 * TcpClient.cs: Public API fixes
514 2004-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516 * Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.
518 2004-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * Socket.cs: fix for BeginConnect and non-blocking sockets.
522 2004-05-03 Lluis Sanchez Gual <lluis@ximian.com>
524 * Socket.cs: Use assembly name const to load Mono.Posix.
526 2004-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
528 * Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
529 I will remove this once THE bug is hunted.
531 2004-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
533 * Socket.cs: added support for unmanaged asynchronous IO. Speed up
535 * UdpClient.cs: fixed Dispose so that it only closes the socket when
538 2004-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540 * Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
541 Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
542 when the socket is non-blocking before getting EWOULDBLOCK error.
544 2004-04-08 Dick Porter <dick@ximian.com>
546 * Socket.cs: Rearrange the internal calls so that the exceptions
547 are thrown from managed code
549 2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
551 * Socket.cs: when Dispose (bool) is called from the finalizer, always
552 do the cleanup. Fixes yet another nullref with xsp.
554 2004-02-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
556 * Socket.cs: implemented IOControl.
558 2004-02-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
560 * Socket.cs: use the threadpool for asynchronous calls instead of
561 creating new threads.
563 2004-02-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
565 * Socket.cs: added locks around waithandle assign and comparison in
566 class Worker. Handle other exceptions than SocketException for
567 non-blocking sockets.
569 2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
572 bug #53168. Avoid the creation of the ManualResetEvent in class Worker
575 2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
577 * Socket.cs: if we have a pending async event, delay socket closing
578 until EndX is called. Fixes bug #53229. Check parameters and if the
579 socket has been disposed. Implemented IDisposable explicitly. The
580 threads created have IsBackground = true now.
582 2004-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
584 * Socket.cs: patch from Brad Fitzpatrick <brad@danga.com> episode 2.
586 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
588 * Socket.cs: fix for several asynchronous methods to delay exception
589 throwing. Patch by Brad Fitzpatrick <brad@danga.com>.
591 2003-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
593 * TcpListener.cs: get the LocalEndPoint from the socket after binding.
596 2003-10-20 Miguel de Icaza <miguel@ximian.com>
598 * TcpClient.cs: Fix void Dispose (bool disposing) to follow the
599 pattern. It was shutting down the managed resources even in the
600 finalizer case, it should only do that when called from
603 2003-09-11 Lluis Sanchez Gual <lluis@ximian.com>
605 * NetworkStream.cs: Added [In,Out] attributes to Read method.
607 2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
609 * TcpListener.cs: various fixes to make the new tests pass. Closes
612 2003-08-10 Miguel de Icaza <miguel@ximian.com>
614 * UdpClient.cs (Receive): Fix Bug 45633; We should do a blocking
615 call until a datagram is arrives from the remote host. This
616 removes the 512 "magic" buffer size when we did not have any data.
618 2003-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
621 * Socket.cs: fixed array boundary checks. 0 sized arrays are allowed.
623 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
625 * Socket.cs: Added GetHashCode method
627 2003-07-14 Jerome Laban <jlaban@wanadoo.fr>
631 * SocketOptionLevel.cs:
638 * IPv6MulticastOption.cs: Added for IPv6 support.
640 2003-05-16 Dick Porter <dick@ximian.com>
642 * Socket.cs: Use Mono.Posix.UnixEndPoint if its available
644 2003-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646 * MulticastOption.cs: patch by Jerome Laban included in bug #42393.
648 2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
651 (Select): don't create arrays if not needed.
652 (Poll): call Select_internal directly.
654 Warning: you need an up to date runtime for this to work!
656 2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
658 * UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
659 Added more checks and throws.
660 Small fixes in Send to avoid duplicating the buffer.
661 Moved CheckIfDisposed calls to the start of the methods instead of doing
662 the check inside a finally clause.
664 2003-03-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
667 (SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>.
669 2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
671 * Socket.cs: patch from Elan Feingold <efeingold@mn.rr.com>. Fixes
672 NullReferenceException when the callback is null.
674 2003-02-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
676 * NetworkStream.cs: allow 0 size array in Write.
678 2003-02-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
680 * Socket.cs: make Worker.Connect and Receive work with non-blocking
681 sockets. May be Receive* and Send* in Worker need to do the same. I'll
682 wait for bug reports. Set IsCompleted to true before invoking the end
683 callback. Fixes bug #38136.
685 2003-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
687 * NetworkStream.cs: the check for disposed should not be done in the
690 2003-01-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
692 * UdpClient.cs: fixed bug #36226.
694 2002-11-13 Dick Porter <dick@ximian.com>
696 * Socket.cs: Only close the socket in one place, ie the Dispose
697 method. Fixes bug 32054.
699 2002-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
701 * Socket.cs: offset == size == 0 it's ok in Send ().
703 2002-11-03 Phillip Pearson <pp@myelin.co.nz>
705 * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client
706 property, which now sets stream to null (it's set by GetStream()). This
707 should make GetStream() work on a TcpClient which has had the socket set
708 by assignment to the Client property, not only one that has been created
709 by TcpListener.AcceptTcpClient().
711 2002-10-08 Dick Porter <dick@ximian.com>
714 * NetworkStream.cs: Bounds checking fixes, and better exception
715 texts. Changes by timothyjmills@hotmail.com (Timothy J. Mills).
717 2002-10-03 Dick Porter <dick@ximian.com>
719 * TcpClient.cs: NoDelay is a TCP option, not Socket
721 2002-09-16 Miguel de Icaza <miguel@ximian.com>
723 * SocketFlags.cs: Add missing enumeration.
725 * UdpClient.cs: Make Dispose private.
727 2002-08-20 Dick Porter <dick@ximian.com>
729 * Socket.cs: Fix deadlock when the AsyncResult callback calls
730 End*(). Set the async request's worker property so it can return
731 results. These two fixes combined fix bug 28092.
733 2002-06-24 Dick Porter <dick@ximian.com>
735 * Socket.cs: Make SetSocketOption cope with boolean values (they
736 are passed as objects, not the ints the runtime was expecting)
738 2002-05-17 Lawrence Pit <loz@cable.a2000.nl>
739 * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
740 * NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable
741 routines, added checks for disposed state.
742 * UdpClient.cs: commented out GetHashCode and Equals as it's not
743 overriden in ms.net implementation.
745 2002-05-17 Jaroslaw Kowalski <jarek@atm.com.pl>
746 * TcpClient.cs: fixed SetTcpClient so that
747 TcpListener.AcceptTcpClient works and allows
748 you to call GetStream() on its result
750 2002-04-24 Dick Porter <dick@ximian.com>
752 * Socket.cs (Poll): Give correct argument to Select(), as spotted
753 by Jaroslaw Kowalski <jarek@atm.com.pl>
755 2002-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
757 * UdpClient.cs: implemented.
759 2002-04-02 Dick Porter <dick@ximian.com>
761 * TcpListener.cs: in Start(), set the socket listen backlog value
762 to a sane value (noticed by Jonathan Stowe <gellyfish@gellyfish.com>)
764 2002-02-13 Dick Porter <dick@ximian.com>
766 * Socket.cs: Implemenent Select, Blocking, Connected,
767 GetSocketOption, Poll, SetSocketOption and Shutdown
769 * MulticastOption.cs:
770 * LingerOption.cs: Delete override methods that don't need to be
773 2002-01-23 Miguel de Icaza <miguel@ximian.com>
775 * NetworkStream.cs: Implement class.
777 2002-01-23 Dick Porter <dick@ximian.com>
779 * SocketException.cs: Implemented
781 * Socket.cs: Implemented most methods
783 * LingerOption.cs: Made compile
785 * AddressFamily.cs: Removed empty auto-generated comments
787 2002-01-17 Miguel de Icaza <miguel@ximian.com>
789 * SocketException.cs: Reimplemented.
791 2002-01-06 Ravi Pratap <ravi@ximian.com>
793 * ChangeLog : Add to this directory.
795 * SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
796 attribute decoration.