for disposed socket.
* Socket.cs: Modified some argument names to match MS. Moved disposed
check before argument checks in Receive. Use SocketError.InvalidArgument
instead of using magic numbers. Added back comments that was
accidentally removed in my previous commit.
* Socket_2_1.cs: Modified some argument names to match MS.
svn path=/trunk/mcs/; revision=137051
MulticastOptionTest.cs.
* Socket.cs: In GetSocketOption, throw SocketException when (byte [])
option value is null. Use SocketError fields instead of using "magic"
number. In SetSocketOption (SocketOptionLevel, SocketOptionName, object)
only accept Linger, AddMembership, DropMembership and verify option
value.
* MulticastOption.cs: Added argument checks. Save interfaceIndex that is
passed to .ctor, and removed MonoTODO. Renamed arguments to match MS.
Reset InterfaceIndex when LocalAddress is modified, and reset
LocalAddress when InterfaceIndex is modified.
* UdpClient.cs: Modified exception to more closely match MS. Fixed
(int, AddressFamily) .ctor to construct IPv6 endpoint when family is
InterNetworkV6. Added null check for multicastAddr to (IPAddress)
JoinMulticastGroup overload. In (int, IPAddress) and (IPAddress,
IPAddress) overloads of JoinMulticastGroup throw SocketException when
client is IPv4. Added null check for multicastAddr to (IPAddress, int),
overload, and moved JoinMulticastGroup call after argument checks.
* IPv6MulticastOption.cs: Renamed argument names to match MS. Added
null check to set_Group. Added range check to set_InterfaceIndex.
* IPv6MulticastOptionTest.cs: Added .ctor and property tests.
* MulticastOptionTest.cs: Added .ctor and property tests.
* SocketTest.cs: Fixed compiler warnings. Improved tests for
closed socket. Added tests fr GetSocketOption, and SetSocketOption
overloads (for Linger, DontLinger, AddMembership and DropMembership).
* UdpClientTest.cs: Added .ctor and JoinMulticastGroup tests.
svn path=/trunk/mcs/; revision=137048
* 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: 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
* SocketTest.cs: Add a test for async non blocking connects that
should fail, leaving Socket.Connected == false. Based on test
case in bug 79878.
svn path=/trunk/mcs/; revision=68433
* NetworkStreamCas.cs: New. CAS unit tests for NetworkStream.
* SocketCas.cs: New. CAS unit tests for Socket.
* SocketTest.cs: Make some fields public so they can be reused.
* TcpClientCas.cs: New. CAS unit tests for TcpClient (currently
commented as the Begin* methods aren't yet implemented).
svn path=/trunk/mcs/; revision=44814
* TcpClientTest.cs: Choose a different port so test will pass on MS.NET
* TcpListenerTest.cs: Ignore test that doesn't play well on MS.NET
svn path=/trunk/mcs/; revision=41482
* System_test.dll.sources: added SocketTest.cs
* System.Net.Sockets/Socket.cs: fix for several asynchronous methods to
delay exception throwing.
* Test/System.Net.Sockets/SocketTest.cs: new test for asynchronous
connection failure.
Test+fix by Brad FitzpatrickBrad Fitzpatrick <[email protected]>.
svn path=/trunk/mcs/; revision=21562
A whole passel of build system changes. Doc updates:
* build/README.makefiles: Doc updates.
* build/profiles/net_1_0.make: Doc changes.
* INSTALL.txt: A few more touchups.
Better defaults:
* build/config-default.make (prefix): Default install prefix
should be /usr/local.
* build/profiles/bootstrap.make: This profile ...
* build/profiles/default.make: ... is now the default.
* build/profiles/atomic.make: And the default is now this.
Fixes for pre-build checks:
* Makefile: Do the platform and (new) profile checks
before the build, which took some infrastructure changes.
* build/rules.make: Allow a Makefile to specify its own all/install/etc
targets.
* build/profiles/default.make (profile-check): Add a blank
target here.
* build/profiles/atomic.make: Check for a full MCS install to
build against.
HP/UX fixes with help from Bernie Solomon:
* build/config-default.make (ECHO_ESCAPE): HP/UX 'echo'
doesn't need a -e parameter to interpret escape codes. Test for
that and define a configuration parameter.
* build/library.make ($(makefrag)): Use $(ECHO_ESCAPE)
instead of assuming that 'echo -e' will interpret escape
codes.
* build/executable.make ($(makefrag)): Here too.
A make distcheck fix:
* Makefile: Inherit the current prefix so that the build can
find the right System.Xml.dll.
And Windows build fixes with the invaluable help of Sebastian
Pouliot (in various subdirectories).
class/Mono.Data.SqliteClient:
2003-07-16 Peter Williams <[email protected]>
* Makefile (LIB_MCS_FLAGS): Add /r:System.dll here. Why wasn't
this necessary with MCS? (csc.exe needs it.)
class/System:
2003-07-16 Peter Williams <[email protected]>
* Makefile (SCARY_LIB): Flip around since what was bootstrap
is now default.
class/System/Test/System.Net:
2003-07-16 Peter Williams <[email protected]>
* IPAddressTest.cs: #if NET_1_1 for some IPv6 tests that
rely on some NET_1_1-only features.
class/System/Test/System.Net.Sockets:
2003-07-16 Peter Williams <[email protected]>
* TcpListenerTest.cs: Initialize outSock to null to
prevent an mcs compile error.
class/System.Data:
2003-07-16 Peter Williams <[email protected]>
* Makefile: Flip around for the new default build
profile. (In a separate commit)
class/System.Windows.Forms:
2003-07-16 Peter Williams <[email protected]>
* System.Windows.Forms.dll.sources: Don't build with two
AssemblyInfo.cs files.
class/corlib:
2003-07-16 Peter Williams <[email protected]>
* Makefile ($(test_makefrag)): Use $(ECHO_ESCAPE) for HP/UX
portability fixes.
(all-local): Don't build $(cmplib) by default, it's not something
most people need, and the build is broken on Windows right now anyway.
ilasm:
2003-07-16 Peter Williams <[email protected]>
* Makefile (ILParser.cs): Move this from parser/ so we avoid
slash direction issues on the Windows build.
* .cvsignore: Add ILParser.cs here.
ilasm/parser:
2003-07-16 Peter Williams <[email protected]>
* .cvsignore: ILParser.cs has been moved.
tools:
2003-07-16 Peter Williams <[email protected]>
* Makefile (DIST_ONLY_SUBDIRS): Don't build SqlSharp, it's
very old and doesn't build on Windows.
svn path=/trunk/mcs/; revision=16292