New tests, message update
[mono.git] / mcs / class / System / System.Net.Sockets / ChangeLog
1 2007-10-21  Robert Jordan  <robertj@gmx.net>
2
3         * Socket.cs: Remove GetHashCode override from the NET_2_0
4         profile. Add LAMESPEC comment. Fixes bug #325113.
5
6 2007-09-22  Gert Driesen  <drieseng@users.sourceforge.net>
7
8         * Socket.cs: Removed unused method.
9
10 2007-08-02  Dick Porter  <dick@ximian.com>
11
12         * Socket.cs: Patch from Brian Nickel (brian.nickel@gmail.com) to
13         improve EndPoint handling.
14
15 2007-07-08  Gert Driesen  <drieseng@users.sourceforge.net>
16
17         * Socket.cs: Code formatting. Marked not implemented methods as TODO.
18         Removed extra spaces.
19
20 2007-07-04  Dick Porter  <dick@ximian.com>
21
22         * Socket.cs: Don't set DontFragment by default for IPv6 sockets.
23         Fixes bug 81985.
24
25 2007-05-16 Adar Wesley <adarw@mainsoft.com>
26
27         * Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
28         Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
29         BeginReceiveMessageFrom, EndReceiveMessageFrom, 
30         EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive, 
31         EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
32         DuplicateAndClose
33
34 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
35
36         * Socket.jvm.cs: Handle property throws NotImplementedException.        
37
38 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
39
40         * NetworkStream.cs:
41         * TcpClient.cs:
42         * TcpListener.cs:
43         * UdpClient.cs:                 
44         added MonoNotSupported attribute for TARGATE_JVM.       
45                 
46 2007-03-11  Gert Driesen  <drieseng@users.sourceforge.net>
47
48         * TcpClient.cs: Do not initialize network stream in Connect. In
49         Dispose, only nullify client if network stream was not obtained.
50         Fixes bug #81105.
51
52 2007-01-30  Ilya Kharmatsky <ilyak -at- mainsoft.com>
53
54         * Socket.jvm.cs: additional stubs for net_2_0 properties,
55         bug fixes (EnsureStillUsable method inserted)
56
57 2007-01-28  Ilya Kharmatsky <ilyak -at- mainsoft.com>
58
59         * Socket.jvm.cs: added stubs for net_2_0 properties and methods.
60
61 2007-01-26  Dick Porter  <dick@ximian.com>
62
63         * Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile.  Stub
64         out BeginReceiveMessageFrom(), BeginSendFile(),
65         EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
66         SendFile().
67
68         * IPPacketInformation.cs: New in the 2.0 profile
69
70         * SocketFlags.cs: Remove useless (and empty) inline documentation,
71         and add 2.0 items.
72
73         * TcpListener.cs: Mark Server as public in the 2.0 profile.
74
75         * UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
76         profile.
77
78         System.Net.Sockets should now be 2.0-complete.
79
80 2007-01-26  Dick Porter  <dick@ximian.com>
81
82         * Socket.cs: There's no point checking the SO_ERROR status of a
83         socket after poll() or select() if we already know that connected
84         == true.
85
86 2007-01-24  Dick Porter  <dick@ximian.com>
87
88         * IOControlCode.cs: 
89         * SocketInformationOptions.cs: 
90         * TransmitFileOptions.cs: Fix enum values
91
92         * AddressFamily.cs: Not Serializable in the 2.0 profile
93
94 2007-01-24  Dick Porter  <dick@ximian.com>
95
96         * NetworkStream.cs: 2.0 profile updates, based on a patch by
97         Sridhar Kulkarni (sridharkulkarni@gmail.com)
98
99 2007-01-23  Dick Porter  <dick@ximian.com>
100
101         * TcpListener.cs: 
102         * TcpClient.cs: 2.0 profile updates, based on a patch by Sridhar
103         Kulkarni (sridharkulkarni@gmail.com)
104
105 2007-01-22  Miguel de Icaza  <miguel@novell.com>
106
107         * Socket.cs: Move the throw new NotImplementedException ()
108         elsewhere to prevent Moma reports.
109
110 2007-01-20  Dick Porter  <dick@ximian.com>
111
112         * Socket.cs(SocketDefaults): Catch and ignore any SocketExceptions
113         thrown from setting default socket options - some platforms might
114         not support a particular default we're trying to set.
115
116 2007-01-11  Dick Porter  <dick@ximian.com>
117
118         * IOControlCode.cs: 
119         * SocketInformation.cs: 
120         * Socket.cs: 
121         * UdpClient.cs: 2.0 profile updates, loosely based on a patch by
122         Sridhar Kulkarni.
123
124         * SocketInformationOptions.cs: 
125         * TransmitFileOptions.cs: Implemented by Sridhar Kulkarni
126         (sridharkulkarni@gmail.com)
127
128 Wed Dec 13 12:04:02 CET 2006 Paolo Molaro <lupus@ximian.com>
129
130         * Socket.cs: stub ReceiveBufferSize and SendBufferSize to
131         get ironpython to compile.
132
133 2006-11-23  Dick Porter  <dick@ximian.com>
134
135         * Socket.cs: Only set Connected = true in Poll() and Select() if
136         the socket error status is 0.  Fixes bug 79878.
137
138 2006-09-28 Andrew Skiba <andrews@mainsoft.com>
139
140         * Socket.cs,NetworkStream.cs,SocketException.cs: TARGET_JVM
141
142 2006-09-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
143
144         * Socket.cs: update the SocketOperation enum.
145
146 2006-08-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147
148         * Socket.cs: replace hardcoded error numbers with the SocketError
149         values. When ReceiveTimeout is set on a blocking socket, correctly
150         report timeouts in the generated exception.
151         
152         * SocketException.cs: add new internal ctor (int, string).
153
154 2006-08-12  Miguel de Icaza  <miguel@novell.com>
155
156         * Socket.cs (NoDelay): Implement.
157
158 2006-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159
160         * Socket.cs: patch from Sanghyeon Seo that implements
161         (Send|Receive)Timeout for 2.0.
162         * MulticastOption.cs: more 2.0 stuff.
163
164 2006-06-28  Atsushi Enomoto  <atsushi@ximian.com>
165
166         * Socket.cs : use ConfigurationManager.GetSection() under NET_2_0.
167           Also make sure to avoid NRE.
168
169 2006-06-24  Zoltan Varga  <vargaz@gmail.com>
170
171         * Socket.cs: Add stubs for net 2.0 SendTimeout and ReceiveTimeout properties.
172
173 2006-06-20  Zoltan Varga  <vargaz@gmail.com>
174
175         * ProtocolType.cs SocketOptionName.cs: Add missing net 2.0 fields.
176
177 2006-05-30  Gert Driesen  <drieseng@users.sourceforge.net>
178
179         * NetworkStream.cs: Marked Dispose (bool) virtual on 1.x profile.
180
181 2006-04-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
182
183         * Socket.cs:
184         * SocketError.cs: implemented Reseive/Send overloads that do not throw
185         in case of error. Patch by Tomi Valkeinen.
186
187 2006-03-11  Miguel de Icaza  <miguel@novell.com>
188
189         * NetworkStream.cs (Dispose): Use the right signature depending on
190         the profile being built.
191
192 2006-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
193
194         * Socket.cs: pass something not empty to the unixep ctor.
195
196 2006-03-03  Dick Porter  <dick@ximian.com>
197
198         * UdpClient.cs: Fix IPv6 family check.  Fixes bug 77689.
199
200 2006-02-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
201
202         * TcpClient.cs: when the socket is not connected, don't try to set the
203         socket options, as they are ignored on linux. Wait until Connect
204         succeeds and then apply the options.
205
206 2006-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
207
208         * Socket.cs: added a missing overload for SetSocketOption.
209
210 2006-01-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * Socket.cs: use the 2.0 configuration classes when checking for IPv6
213         support.
214
215 2006-01-04  Sebastien Pouliot  <sebastien@ximian.com>
216
217         * TcpClient.cs: The Client property is public in 2.0 while it was
218         protected in earlier release. Fix bug #77048.
219
220 2005-12-07  Robert Jordan  <robertj@gmx.net>
221
222         * SocketError.cs: Added.
223         * SocketException: Implemented SocketErrorCode. Fixes bug #76915.
224
225 2005-10-11  Dick Porter  <dick@ximian.com>
226
227         * Socket.cs: Don't call connect(2) twice for non-blocking sockets,
228         it breaks on macos (and probably other bsd-based stacks too,) use
229         poll() and getsockopt() to check if it worked.
230
231 2005-09-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232
233         * Socket.cs: add checks for 'disposed' all over. Fixes bug #76249.
234
235 2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236
237         * TcpClient.cs: patch by Hans Kratz that uses an integer when setting
238         NoDelay instead of a bool, which is only handled in 2.0.
239
240 2005-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241
242         * Socket.cs: disallow connecting to .Any addresses. Fixes bug #75154.
243
244 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
245
246         * Socket.cs: adapted Select to the new Select_internal that uses poll()
247         instead of select(). Managed part of the fix for bug #71203.
248
249 2005-05-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250
251         * Socket.cs: apply the same hack on blocking Connect calls as the one
252         used in Accept.
253
254 2005-05-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255
256         * Socket.cs: see bug #74842, which is fixed with this patch for details
257         and test cases on the blocking behavior of accept() when close() is
258         called from another thread. The solution applied is to Abort the thread
259         that is blocking in Accept_internal() when someone calls Close (), then
260         reset the abort state if the socket is disposed and return the same
261         error as MS (10004 - interrupted).
262
263 2005-05-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
264
265         * Socket.cs: match MS behavior on SetSocketOption with a boolean
266         argument. MS 1.1 throws an ArgumentException, but 2.0 turns true/false
267         into 1/0 and works fine. Fixes bug #71753. Added checks for disposed
268         in the 3 SetSocketOption.
269
270 2005-05-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * Socket.cs: if there are outstanding aio requests and one of them gets
273         an ObjectDisposedException, throw the same exception for the rest.
274
275 2005-05-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
276
277         * Socket.cs: removed hack added to fix bug #53229 (more than a year ago)
278         that kept sockets opened until all AIO operations where finished. If
279         the socket is closed, Receive returns 0 in EndReceive, the rest throw
280         the ObjectDisposedException. Set the socket handle to -1 when closing.
281
282 2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283
284         * Socket.cs: Begin/End Send/SendTo guarantee that all bytes are written
285         or an exception is thrown. Fixes bug #74475.
286
287 2005-04-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
288
289         * Socket.cs: no need for locking in Worker. The actual read / write for
290         Receive / Send is performed in the runtime time.
291
292 2005-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
293
294         * Socket.cs: added a 'blocking' field that is passed to the runtime.
295
296 2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
297
298         * Socket.cs: invoke the callback after scheduling the next request for
299         the socket. Fixes bug #74539.
300
301 2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
302
303         * Socket.cs: update socket connected status in an async request finishes
304         synchronously. Use 'callback' instead of 'real_callback' field, which is
305         now unused.
306
307 2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
308
309         * Socket.cs: added SocketOperation enum and 2 new fields to
310         SocketAsyncResult that are used by the runtime. Asynchronous read/write
311         are serialized so that only 1 of each kind is really 'active'.
312         Handle non-blocking connects in BeginConnect instead of doing 2 Poll()
313         in the threadpool.
314
315         * NetworkStream.cs: better message for the exception.
316
317 2005-04-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
318
319         * Socket.cs: remove unused async IO code.
320
321 2005-03-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
322
323         * Socket.cs: don't Poll/block in Connect aither.
324
325 2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
326
327         * Socket.cs: don't block on Accept if the socket is non-blocking.
328         Fixes bug #73053. Patch by Ankit Jain.
329
330 2005-02-23  Dick Porter  <dick@ximian.com>
331
332         * UdpClient.cs: Set the Broadcast option, as apparently the MS
333         runtime defaults make UDP sockets broadcastable.
334
335 2004-12-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
336
337         * Socket.cs: for Receive*/Send*, don't set the connected status to false
338         when the error is EINPROGRESS or EWOULDBLOCK.
339
340 2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341
342         * NetworkStream.cs: Write should ensure that writes all the contents
343         of the buffer. Fixes bug #70123. Besos para Miguelito.
344
345 2004-10-14  Dick Porter  <dick@ximian.com>
346
347         * Socket.cs (Sockets ): Set Accept()ed socket blocking status to
348         be the same as the listening socket.  This follows MS behaviour.
349
350 2004-08-04  Dick Porter  <dick@ximian.com>
351
352         * Socket.cs: Update Connected state in Select and Poll; this is
353         when we find out that non-blocking Connects succeed.  Fixes bug
354         62398.
355
356 2004-07-28  Dick Porter  <dick@ximian.com>
357
358         * Socket.cs: ReceiveFrom might not return a valid EndPoint.  Patch
359         by Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug 61608.
360
361 2004-07-15  Dick Porter  <dick@ximian.com>
362
363         * Socket.cs: Don't try and dereference a null array in Select()
364         (possible if a descriptor list of length 0 was passed.)  Patch by
365         Nick Vaughan (dev@6wardlaw.freeserve.co.uk), fixes bug 61595.
366
367 2004-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
368
369         * Socket.cs: if'ed RemoveReferences calls.
370
371 2004-07-09  Dick Porter  <dick@ximian.com>
372
373         * Socket.cs: Slight tweak to allow unknown objects to be returned
374         by GetSocketOption().
375
376 2004-06-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
377
378         * Socket.cs: connect on non-blocking sockets returns EINPROGRESS. Fixes
379         bug #60811.
380
381 2004-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382
383         * Socket.cs: wrong error code in connect and accept. EWOULDBLOCK is
384         10035. Fixes bug #60563.
385
386 2004-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>
387
388         * Socket.cs: fixed Accept for non-blocking sockets.
389
390 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
391
392         * LingerOption.cs: marked field private to fix API signature
393         * MulticastOption.cs: marked field private to fix API signature
394
395 2004-06-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
396
397         * Socket.cs: throw ArgumentNullException if all the list are null OR
398         empty. Fixes bug #59632.
399
400 2004-05-21  Patrik Torstensson <totte@hiddenpeaks.com>
401
402         * TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.
403         
404         (AcceptTcpClient): Don't create TcpClient before a
405         connection is accepted.
406         
407         (LocalEndPoint): Use Server LocalEndPoint if connected
408         otherwise use endpoint from ctor.
409         
410         (Init): Save end point, not server endpoint. This did
411         cause TcpListener to ignore port sent via constructor.
412
413         (Pending): Fixed wait time (method should return directly)
414         
415         (Start): Moved Bind here instead of Init method; old method
416         caused us to bind ports even if the listener was stopped.
417         
418         (Stop): Null server when stopping
419
420 2004-05-13  Dick Porter  <dick@ximian.com>
421
422         * UdpClient.cs: 
423         * TcpClient.cs: Public API fixes
424
425 2004-05-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
426
427         * Socket.cs: fixed Connect for non-blocking sockets. Closes bug #58169.
428
429 2004-05-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
430
431         * Socket.cs: fix for BeginConnect and non-blocking sockets.
432
433 2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>
434
435         * Socket.cs: Use assembly name const to load Mono.Posix.
436
437 2004-05-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>
438
439         * Socket.cs: only enable socket AIO if MONO_ENABLE_SOCKET_AIO is there.
440         I will remove this once THE bug is hunted.
441
442 2004-04-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
443
444         * Socket.cs: added support for unmanaged asynchronous IO. Speed up
445         error checking.
446         * UdpClient.cs: fixed Dispose so that it only closes the socket when
447         called explicitly.
448
449 2004-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
450
451         * Socket.cs: added GetSupportsAsync and Poll_internal internal calls.
452         Cleaned up Worker class: moved fields to SocketAsyncResult and use Poll
453         when the socket is non-blocking before getting EWOULDBLOCK error.
454
455 2004-04-08  Dick Porter  <dick@ximian.com>
456
457         * Socket.cs: Rearrange the internal calls so that the exceptions
458         are thrown from managed code
459
460 2004-03-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
461
462         * Socket.cs: when Dispose (bool) is called from the finalizer, always
463         do the cleanup. Fixes yet another nullref with xsp.
464
465 2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
466
467         * Socket.cs: implemented IOControl.
468
469 2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
470
471         * Socket.cs: use the threadpool for asynchronous calls instead of
472         creating new threads.
473
474 2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
475
476         * Socket.cs: added locks around waithandle assign and comparison in
477         class Worker. Handle other exceptions than SocketException for
478         non-blocking sockets.
479
480 2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
481
482         * Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
483         bug #53168. Avoid the creation of the ManualResetEvent in class Worker
484         whenever possible.
485
486 2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
487
488         * Socket.cs: if we have a pending async event, delay socket closing
489         until EndX is called. Fixes bug #53229. Check parameters and if the
490         socket has been disposed. Implemented IDisposable explicitly. The
491         threads created have IsBackground = true now.
492
493 2004-01-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
494
495         * Socket.cs: patch from Brad Fitzpatrick <brad@danga.com> episode 2.
496
497 2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
498
499         * Socket.cs: fix for several asynchronous methods to delay exception
500         throwing.  Patch by Brad Fitzpatrick <brad@danga.com>.
501
502 2003-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>
503
504         * TcpListener.cs: get the LocalEndPoint from the socket after binding.
505         Fixes bug #52329.
506
507 2003-10-20  Miguel de Icaza  <miguel@ximian.com>
508
509         * TcpClient.cs: Fix void Dispose (bool disposing) to follow the
510         pattern.  It was shutting down the managed resources even in the
511         finalizer case, it should only do that when called from
512         IDisposable.Dipose.
513
514 2003-09-11  Lluis Sanchez Gual <lluis@ximian.com>
515
516         * NetworkStream.cs: Added [In,Out] attributes to Read method.
517
518 2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
519
520         * TcpListener.cs: various fixes to make the new tests pass. Closes
521         bug #47848.
522
523 2003-08-10  Miguel de Icaza  <miguel@ximian.com>
524
525         * UdpClient.cs (Receive): Fix Bug 45633;  We should do a blocking
526         call until a datagram is arrives from the remote host.  This
527         removes the 512 "magic" buffer size when we did not have any data.
528  
529 2003-07-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
530
531         * NetworkStream.cs:
532         * Socket.cs: fixed array boundary checks. 0 sized arrays are allowed.
533
534 2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
535
536         * Socket.cs: Added GetHashCode method
537
538 2003-07-14  Jerome Laban <jlaban@wanadoo.fr>
539
540         * Socket.cs:
541         * ProtocolType.cs:
542         * SocketOptionLevel.cs:
543         * TcpListener.cs:
544         * TcpClient.cs:
545         * UdpClient.cs:
546         
547         Added IPv6 support.
548
549         * IPv6MulticastOption.cs: Added for IPv6 support.
550
551 2003-05-16  Dick Porter  <dick@ximian.com>
552
553         * Socket.cs: Use Mono.Posix.UnixEndPoint if its available
554
555 2003-05-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
556
557         * MulticastOption.cs: patch by Jerome Laban included in bug #42393.
558
559 2003-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
560
561         * Socket.cs:
562         (Select): don't create arrays if not needed.
563         (Poll): call Select_internal directly.
564
565         Warning: you need an up to date runtime for this to work!
566
567 2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>
568
569         * UdpClient.cs: don't bind the socket unless .ctor (IPEndPoint) is used.
570         Added more checks and throws.
571         Small fixes in Send to avoid duplicating the buffer.
572         Moved CheckIfDisposed calls to the start of the methods instead of doing
573         the check inside a finally clause.
574
575 2003-03-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
576
577         * Socket.cs:
578         (SendTo): fix from Jerome Laban <jlaban@wanadoo.fr>.
579
580 2003-02-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
581
582         * Socket.cs: patch from Elan Feingold <efeingold@mn.rr.com>. Fixes
583         NullReferenceException when the callback is null.
584
585 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
586
587         * NetworkStream.cs: allow 0 size array in Write.
588
589 2003-02-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
590
591         * Socket.cs: make Worker.Connect and Receive work with non-blocking
592         sockets. May be Receive* and Send* in Worker need to do the same. I'll
593         wait for bug reports. Set IsCompleted to true before invoking the end
594         callback. Fixes bug #38136.
595
596 2003-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
597
598         * NetworkStream.cs: the check for disposed should not be done in the
599         finally clause.
600
601 2003-01-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
602
603         * UdpClient.cs: fixed bug #36226.
604
605 2002-11-13  Dick Porter  <dick@ximian.com>
606
607         * Socket.cs: Only close the socket in one place, ie the Dispose
608         method.  Fixes bug 32054.
609
610 2002-11-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>
611
612         * Socket.cs: offset == size == 0 it's ok in Send ().
613
614 2002-11-03  Phillip Pearson  <pp@myelin.co.nz>
615
616         * TcpClient.cs: Fixed SetTcpClient() to pass through to the Client 
617         property, which now sets stream to null (it's set by GetStream()).  This 
618         should make GetStream() work on a TcpClient which has had the socket set 
619         by assignment to the Client property, not only one that has been created 
620         by TcpListener.AcceptTcpClient().
621
622 2002-10-08  Dick Porter  <dick@ximian.com>
623
624         * Socket.cs: 
625         * NetworkStream.cs: Bounds checking fixes, and better exception
626         texts.  Changes by timothyjmills@hotmail.com (Timothy J. Mills).
627
628 2002-10-03  Dick Porter  <dick@ximian.com>
629
630         * TcpClient.cs: NoDelay is a TCP option, not Socket
631
632 2002-09-16  Miguel de Icaza  <miguel@ximian.com>
633
634         * SocketFlags.cs: Add missing enumeration.
635
636         * UdpClient.cs: Make Dispose private.
637
638 2002-08-20  Dick Porter  <dick@ximian.com>
639
640         * Socket.cs: Fix deadlock when the AsyncResult callback calls
641         End*().  Set the async request's worker property so it can return
642         results.  These two fixes combined fix bug 28092.
643
644 2002-06-24  Dick Porter  <dick@ximian.com>
645
646         * Socket.cs: Make SetSocketOption cope with boolean values (they
647         are passed as objects, not the ints the runtime was expecting)
648
649 2002-05-17  Lawrence Pit <loz@cable.a2000.nl>
650         * TcpListener.cs: Renamed LocalEndPoint to LocalEndpoint
651         * NetworkStream.cs, UdpClient.cs and TcpClient.cs: modified disposable 
652         routines, added checks for disposed state.
653         * UdpClient.cs: commented out GetHashCode and Equals as it's not
654         overriden in ms.net implementation.
655
656 2002-05-17  Jaroslaw Kowalski <jarek@atm.com.pl>
657         * TcpClient.cs: fixed SetTcpClient so that
658         TcpListener.AcceptTcpClient works and allows
659         you to call GetStream() on its result
660
661 2002-04-24  Dick Porter  <dick@ximian.com>
662
663         * Socket.cs (Poll): Give correct argument to Select(), as spotted
664         by Jaroslaw Kowalski <jarek@atm.com.pl>
665
666 2002-04-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>
667
668         * UdpClient.cs: implemented.
669
670 2002-04-02  Dick Porter  <dick@ximian.com>
671
672         * TcpListener.cs: in Start(), set the socket listen backlog value
673         to a sane value (noticed by Jonathan Stowe <gellyfish@gellyfish.com>)
674
675 2002-02-13  Dick Porter  <dick@ximian.com>
676
677         * Socket.cs: Implemenent Select, Blocking, Connected,
678         GetSocketOption, Poll, SetSocketOption and Shutdown
679
680         * MulticastOption.cs: 
681         * LingerOption.cs: Delete override methods that don't need to be
682         implemented
683
684 2002-01-23  Miguel de Icaza  <miguel@ximian.com>
685
686         * NetworkStream.cs: Implement class.
687
688 2002-01-23  Dick Porter  <dick@ximian.com>
689
690         * SocketException.cs: Implemented
691
692         * Socket.cs: Implemented most methods
693
694         * LingerOption.cs: Made compile
695
696         * AddressFamily.cs: Removed empty auto-generated comments
697
698 2002-01-17  Miguel de Icaza  <miguel@ximian.com>
699
700         * SocketException.cs: Reimplemented.
701
702 2002-01-06  Ravi Pratap  <ravi@ximian.com>
703
704         * ChangeLog : Add to this directory.
705
706         * SocketException.cs, TcpClient.cs, TcpListener.cs : MonoTODO
707         attribute decoration.