* TcpClient.cs: If the Connect fails (when given an array of
addresses) leave the socket object in a usable state. Fixes bug
355473.
svn path=/trunk/mcs/; revision=94523
* Socket.cs: Do not set the Send and Receive buffer sizes for the
socket to the defaults set on Windows, they kill our performance.
Thanks to Zoltan Varga for tracking the performance issue down.
The bug was #325032
svn path=/trunk/mcs/; revision=88700
* UdpClient.cs: Don't set the multicast option twice. Fixes bug
324033.
2007-10-30 Dick Porter <[email protected]>
* UdpClientTest.cs: Test for 324033.
svn path=/trunk/mcs/; revision=88456
2007-10-21 Robert Jordan <[email protected]>
* Socket.cs: Remove GetHashCode override from the NET_2_0
profile. Add LAMESPEC comment. Fixes bug #325113.
In Test/System.Net.Sockets:
2007-10-21 Robert Jordan <[email protected]>
* SocketTest.cs: Enable GetHashCodeTest.
svn path=/trunk/mcs/; revision=87865
Dispose, only nullify client if network stream was not obtained.
Fixes bug #81105.
* TcpClientTest.cs: Added test for bug #81105.
svn path=/trunk/mcs/; revision=74062
* Socket.cs: SupportsIPv6 is obsolete in the 2.0 profile. Stub
out BeginReceiveMessageFrom(), BeginSendFile(),
EndReceiveMessageFrom(), EndSendFile(), ReceiveMessageFrom(), and
SendFile().
* IPPacketInformation.cs: New in the 2.0 profile
* SocketFlags.cs: Remove useless (and empty) inline documentation,
and add 2.0 items.
* TcpListener.cs: Mark Server as public in the 2.0 profile.
* UdpClient.cs: Mark Dispose(bool) as protected in the 2.0
profile.
System.Net.Sockets should now be 2.0-complete.
svn path=/trunk/mcs/; revision=71759
* Socket.cs: There's no point checking the SO_ERROR status of a
socket after poll() or select() if we already know that connected
== true.
2007-01-26 Dick Porter <[email protected]>
* SocketTest.cs: New test for SO_ERROR reading, returning the same
value over and over.
svn path=/trunk/mcs/; revision=71751
* NetworkStream.cs: 2.0 profile updates, based on a patch by
Sridhar Kulkarni ([email protected])
2007-01-24 Dick Porter <[email protected]>
* NetworkStreamTest.cs: Test 2.0 ReadTimeout property
svn path=/trunk/mcs/; revision=71598
* TcpListener.cs: 2.0 profile updates, based on a patch by Sridhar
Kulkarni ([email protected])
2007-01-23 Dick Porter <[email protected]>
* TcpListenerTest.cs: Test 2.0 Start(int) overload
svn path=/trunk/mcs/; revision=71565
* TcpClient.cs: 2.0 profile updates, based on a patch by Sridhar
Kulkarni ([email protected])
2007-01-23 Dick Porter <[email protected]>
* TcpClientTest.cs: Test 2.0 Connect(IPAddress[], port) overload
svn path=/trunk/mcs/; revision=71557
* Socket.cs(SocketDefaults): Catch and ignore any SocketExceptions
thrown from setting default socket options - some platforms might
not support a particular default we're trying to set.
svn path=/trunk/mcs/; revision=71386
* Socket.cs: replace hardcoded error numbers with the SocketError
values. When ReceiveTimeout is set on a blocking socket, correctly
report timeouts in the generated exception.
* SocketException.cs: add new internal ctor (int, string).
svn path=/trunk/mcs/; revision=63802
* Socket.cs: patch from Sanghyeon Seo that implements
(Send|Receive)Timeout for 2.0.
* MulticastOption.cs: more 2.0 stuff.
svn path=/trunk/mcs/; revision=62157
* Socket.cs:
* SocketError.cs: implemented Reseive/Send overloads that do not throw
in case of error. Patch by Tomi Valkeinen.
svn path=/trunk/mcs/; revision=59333
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
used by us internally).
Ponder: should we instead move our methods to use new versions of
the Obsoleted ones?
2006-03-11 Miguel de Icaza <[email protected]>
* CodeNamespaceImportCollection.cs: It turns out that a lot of the
errors flagged with "!" were just missing explicit interface
implementations.
Implement.
2006-03-11 Miguel de Icaza <[email protected]>
* CodeDomConfigurationHandler.cs: Comment out unused methods.
* TempFileCollection.cs: Implement explicitly some interface
methods to get rid of the "!" errors on CorCompare.
2006-03-11 Miguel de Icaza <[email protected]>
* Queue.cs: Flag as serializable.
* LinkedList.cs (OnDeserialization): Fix signature.
* SortedList.cs: Implement explicitly a few methods that were
flagged by corcompare.
2006-03-11 Miguel de Icaza <[email protected]>
* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
avoid warning.
2006-03-11 Miguel de Icaza <[email protected]>
* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
internal to avoid warnings. This routine is called from
System.Web with MethodInfo.Invoke.
2006-03-11 Miguel de Icaza <[email protected]>
* DeflateStream.cs: Comment out DllImport that was not being
used.
2006-03-11 Miguel de Icaza <[email protected]>
* y
* SerialPort.cs: Remove unused variable (writeBuffer).
* SerialPortStream.cs (Dispose): override, not new.
2006-03-11 Miguel de Icaza <[email protected]>
* WebClient.cs: Only expose the right methods to avoid warnings.
* FtpDataStream.cs (Dispose): Fix signature.
* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
like we are missing features here).
* IPAddress.cs: Move m_HashCode property to the end, and set
pragmas to disable warnings.
2006-03-11 Miguel de Icaza <[email protected]>
* MailAddress.cs: Comment out unused field to remove warning.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkChange.cs: Use pragmas to eliminate warnings from events
that we do not trigger yet.
This is a candidate for using Aaron's NetworkManager code. But
would make us depend on d-bus.
* NetworkInformationException.cs: Use error_code for ErrorCode,
instead of NativeErrorCode. Fixes warning.
2006-03-11 Miguel de Icaza <[email protected]>
* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
need to do this everywhere one day).
(Close): actually obey the "leaveInnerStreamOpen" setting from the
constructor.
2006-03-11 Miguel de Icaza <[email protected]>
* NetworkStream.cs (Dispose): Use the right signature depending on
the profile being built.
2006-03-11 Miguel de Icaza <[email protected]>
* X509Chain.cs: Flagged member as internal to avoid unused warning.
* X500DistinguishedName.cs: Comment out unused names and move
temporary unused variables inside the comments that were removed
svn path=/trunk/mcs/; revision=57836
* TcpClient.cs: when the socket is not connected, don't try to set the
socket options, as they are ignored on linux. Wait until Connect
succeeds and then apply the options.
svn path=/trunk/mcs/; revision=57216
* Socket.cs: Don't call connect(2) twice for non-blocking sockets,
it breaks on macos (and probably other bsd-based stacks too,) use
poll() and getsockopt() to check if it worked.
svn path=/trunk/mcs/; revision=51565
* TcpClient.cs: patch by Hans Kratz that uses an integer when setting
NoDelay instead of a bool, which is only handled in 2.0.
svn path=/trunk/mcs/; revision=45576
* Socket.cs: adapted Select to the new Select_internal that uses poll()
instead of select(). Managed part of the fix for bug #71203.
svn path=/trunk/mcs/; revision=45298