Commit Graph
47 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Rodrigo Kumpera d4018a0b34 Add the hostname into the exception message when doing dns lookups. 2013-05-23 11:24:15 -04:00
Rodrigo Kumpera 5007c14d62 Kill the MOONLIGHT define in System. 2013-02-11 13:01:11 -05:00
Marek Safar 2def7fd9e8 More API updates 2011-12-07 18:34:27 +00:00
alexrp 0857328fa8 Don't build Mono.Net.Dns in the mobile profile. 2011-10-21 09:08:58 -05:00
Gonzalo Paniagua Javier c9715e17d2 Rename namespace to Mono.Net.Dns 2011-10-08 11:07:03 -04:00
Gonzalo Paniagua Javier 69da587d6a Unbreak the build 2011-10-08 07:17:58 -04:00
Gonzalo Paniagua Javier 2be2c0334f Add info to the manual page on MONO_DNS 2011-10-08 00:55:38 -04:00
Gonzalo Paniagua Javier fdd5f1d332 Add support for an alternative managed DNS resolver
The System.Net.Dns class will now use a fully managed implementation of
	a DNS resolver which is much better when doing multiple queries at a
	time.
2011-10-08 00:48:12 -04:00
Marek Safar 1ce7b6016f Add async methods to System.Net 2011-10-07 10:11:29 +01:00
Marek Safar 482e63b5bd Few corcompare fixes 2011-09-05 19:02:32 +01:00
Gonzalo Paniagua Javier 28fff74003 Remove NET_2_0 2011-03-17 18:53:39 -04:00
Jb Evain ba61ae505e use MOONLIGHT symbol
svn path=/trunk/mcs/; revision=153655
2010-03-16 12:07:46 +00:00
Geoff Norton ee0e60eaed Include async dns in monotouch
svn path=/trunk/mcs/; revision=143196
2009-10-01 18:37:24 +00:00
Gonzalo Paniagua Javier d10f265ad0 2009-05-11 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: made GetHostAddresses and friends internal for 1.x
	* EndpointPermission.cs: use GetHostAddresses.


svn path=/trunk/mcs/; revision=133949
2009-05-12 03:49:14 +00:00
Gert Driesen 7cbe766dac * DnsTest.cs: Use Assert syntax, and spaces to tabs. Added tests
for argument checks.
* Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
reject "any" IP addresses. BeginGetHostEntry - renamed argument
to match MS, reject "any" IP addresses. GetHostEntry - reject
"any" IP addresses. GetHostAddresses - reject "any" IP addresses.
GetHostByName - use "hostName" as paramname in ANE.

svn path=/trunk/mcs/; revision=126281
2009-02-08 19:43:44 +00:00
Gonzalo Paniagua Javier 74b093ad4b 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: empty string for host (also 0.0.0.0) is just passed to the
	runtime, which will then retrieve the local IP addresses. Fixes bug
	#386637 part 2/2.


svn path=/trunk/mcs/; revision=126162
2009-02-07 05:22:30 +00:00
Jb Evain 43af9c8328 2007-08-03 Jb Evain <[email protected]>
* Dns.cs: remove async methods for the 2.1 profile.

svn path=/trunk/mcs/; revision=83448
2007-08-03 20:46:43 +00:00
Ilya Kharmatsky 5164c27e3b In Dns.cs implemented proper exception handling when trying to resolve not existing address (under 'TARGET_JVM')
svn path=/trunk/mcs/; revision=71957
2007-01-30 13:41:25 +00:00
Andrew Skiba a94871fa81 TARGET_JVM
svn path=/trunk/mcs/; revision=66032
2006-09-28 13:43:30 +00:00
Atsushi Eno 5ed0a8b5b9 2006-07-07 Atsushi Enomoto <[email protected]>
* Dns.cs : (GetHostEntry) when passed IP addresses, it does not issue
	  query to DNS. Patch by Petri Latvala.


svn path=/trunk/mcs/; revision=62341
2006-07-07 06:30:24 +00:00
Atsushi Eno f26428e68c 2006-03-30 Atsushi Enomoto <[email protected]>
* Dns.cs : minor argument renaming.


svn path=/trunk/mcs/; revision=58771
2006-03-30 04:16:38 +00:00
Atsushi Eno c6966cfecc 2006-03-28 Atsushi Enomoto <[email protected]>
* Dns.cs : filled missing NET_2_0 members.

	* DnsTest.cs : added test for GetHostEntry.


svn path=/trunk/mcs/; revision=58635
2006-03-28 01:10:54 +00:00
Dick Porter 0d2075e01e 2006-02-16 Dick Porter <[email protected]>
* IPEndPoint.cs: The SocketAddress AddressFamily takes up the
        first two bytes, not just one.  Check the size of the
        SocketAddress buffer for IPv6 as well.

        * Dns.cs: Cope when GetHostByName_internal or
        GetHostByAddr_internal returns fewer items in the array than it
        intended to (maybe due to conversion errors.)



svn path=/trunk/mcs/; revision=56953
2006-02-16 18:07:53 +00:00
Senganal T 698860f721 2005-11-21 Senganal T <[email protected]>
* Dns.cs : corrected a mistake in GetHostEntry ()

svn path=/trunk/mcs/; revision=53302
2005-11-21 13:50:02 +00:00
Senganal T ec248e159f 2005-11-21 Senganal T <[email protected]>
* System/System.Net/Dns.cs : added GetHostEntry() method for 2.0 api conformance
	* System.Data/System.Data.ProviderBase/DbParameterCollectionBase.cs 
		- Marked CheckName method as virtual
	* System.Data/System.Data.ProviderBase/DbParameterBase.cs
		- Marked Offset property and CopyTo method as virtual
	* System.Data/System.Data.Common/DbMetaDataCollectionNames.cs (new file)
		- Added DbMetaDataCollectionNames Enumeration 
	* System.Data/System.Data.dll.sources: 
		- Added System.Data/ConflictOption.cs : Source file for ConflictOption
			enumeration.
	* System.Data/System.Data/ConflictOption.cs (new file)
		- Added ConflictOption Enumeration 
	* System.Data/System.Data/DataTableReader.cs
	* System.Data/System.Data/IDataRecord2.cs 
		- GetProviderSpecificFieldType : Corrected the method name
	* System.Data/System.Data.Common/DbDataAdapter.cs
	* System.Data/System.Data.Common/DbParameter.cs
	* System.Data/System.Data.Common/DbTransaction.cs
	* System.Data/System.Data.Common/DbTable.cs
	* System.Data/System.Data.Common/DbProviderFactories.cs
	* System.Data/System.Data.Common/DbException.cs
	* System.Data/System.Data.Common/DbProviderFactory.cs
	* System.Data/System.Data.Common/DbCommandBuilder.cs
	* System.Data/System.Data.Common/DbDataReader.cs
	* System.Data/System.Data.Common/DbParameterCollection.cs
	* System.Data/System.Data.SqlClient/SqlClientFactory.cs
	* System.Data/System.Data.SqlClient/SqlCommandBuilder.cs
	* System.Data/System.Data.SqlClient/SqlParameterCollection.cs
	* System.Data/System.Data.SqlClient/SqlDataReader.cs
	* System.Data/System.Data.SqlClient/SqlDataAdapter.cs
	* System.Data/System.Data.SqlClient/SqlParameter.cs
	* System.Data/System.Data.SqlClient/SqlTransaction.cs
	* System.Data/System.Data.Odbc/OdbcTransaction.cs
	* System.Data/System.Data.Odbc/OdbcCommandBuilder.cs
	* System.Data/System.Data.Odbc/OdbcParameterCollection.cs
	* System.Data/System.Data.Odbc/OdbcDataReader.cs
	* System.Data/System.Data.Odbc/OdbcFactory.cs
	* System.Data/System.Data.Odbc/OdbcDataAdapter.cs
	* System.Data/System.Data.Odbc/OdbcParameter.cs

	Added stubs and other changes for ADO.NET 2.0 compatibility
	

svn path=/trunk/mcs/; revision=53301
2005-11-21 13:08:48 +00:00
Gonzalo Paniagua Javier 835abe7513 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
* HttpListenerPrefixCollection.cs:
	* HttpWebResponse.cs:
	* Dns.cs:
	* HttpListenerRequest.cs:
	* HttpWebRequest.cs:
	* HttpListenerResponse.cs: a few signature fixes for 2.0.


svn path=/trunk/mcs/; revision=53210
2005-11-17 22:07:17 +00:00
Gonzalo Paniagua Javier 70760cf7b6 2005-06-21 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: SslClientStream.BeginRead might not be asynchronous
	if there's no record available to read. This is a workaround that makes
	the call to BeginRead itself asynchronous. Fixes bug #75342.


svn path=/trunk/mcs/; revision=46332
2005-06-21 21:57:20 +00:00
Gonzalo Paniagua Javier 07a4d5c837 2005-05-30 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: don't parse the address when it comes from an IPAddress.


svn path=/trunk/mcs/; revision=45176
2005-05-30 04:24:42 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier bb9a286268 2004-01-23 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
	bug #53222.

svn path=/trunk/mcs/; revision=22439
2004-01-23 18:02:43 +00:00
Jerome Laban dac25c46ee 2003-07-14 Jerome Laban <[email protected]>
* Dns.cs: Reworked indentation.
        Added IPv6 support.
        Added literal address checking in GetHostByAddress.
        Changed Dns.Resolve behavior.
        * IPAddress.cs:
        * IPEndPoint.cs: Added IPv6 support.
        * IPv6Address.cs: Added address compression.
        * NetConfig.cs: Added configuration section.

svn path=/trunk/mcs/; revision=16215
2003-07-14 16:00:44 +00:00
Zoltan Varga ab011f278f 2003-05-23 Zoltan Varga <[email protected]>
* Dns.cs (GetHostByAddress): Return the local host when called with
	IF_ANY.

svn path=/trunk/mcs/; revision=14830
2003-05-23 11:07:21 +00:00
Dick Porter 2d6dbf76a1 2002-10-03 Dick Porter <[email protected]>
* Dns.cs: Fixed GetHostName()

svn path=/trunk/mcs/; revision=7959
2002-10-03 09:13:34 +00:00
Mads Pultz e7dd68d618 Fix for GetHostName. Now relies on native gethostname.
svn path=/trunk/mcs/; revision=7935
2002-10-02 11:14:38 +00:00
Miguel de Icaza a9de0bcd8d Add a MonoTODO
svn path=/trunk/mcs/; revision=5804
2002-07-15 01:03:05 +00:00
Lawrence Pit 9660a4c88b * Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
relying on standard asynchronous delegate features. Added checks for
	null strings.
	* HttpWebResponse.cs: implemented properties
	* FileWebResponse.cs: improved the way resources are disposed.
	* FileWebRequest.cs: started implementation of asynchronous methods
	* ServicePointManager.cs: implemented properties

svn path=/trunk/mcs/; revision=4604
2002-05-13 19:59:05 +00:00
Lawrence Pit eed54e475f Socket permission stuff, not yet used by Socket itself.
svn path=/trunk/mcs/; revision=4101
2002-04-28 09:12:58 +00:00
Gonzalo Paniagua Javier 8f9445d3f9 2002-04-18 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs (Resolve): behave as MS. Agreed with Mads.

svn path=/trunk/mcs/; revision=3892
2002-04-18 09:17:45 +00:00
Piers Haken 84187bf9a6 fixed member accessibility to match MS (corcompare).
svn path=/trunk/mcs/; revision=3531
2002-04-01 06:07:43 +00:00
Mads Pultz bde18438b4 Added implementation for System.Net.Dns.BeginResolve() and System.Net.Dns.EndResolve(). Test also included.
svn path=/trunk/mcs/; revision=2312
2002-02-11 10:12:25 +00:00
Dick Porter 734a34aa23 2002-01-23 Dick Porter <[email protected]>
* System.build: Start build System.Net.Sockets.Socket.cs,
	TcpClient.cs and TcpListener.cs

2002-01-23  Dick Porter  <[email protected]>

	* SocketException.cs: Implemented

	* Socket.cs: Implemented most methods

	* LingerOption.cs: Made compile

	* AddressFamily.cs: Removed empty auto-generated comments

2002-01-23  Dick Porter  <[email protected]>

	* SocketAddress.cs: Implemented.

	* IPEndPoint.cs: Turned 'Address' field into a real property.
	Implemented Create() and Serialize() methods.

	* IPAddress.cs: Fixed class constructor, turned 'Address' field
	into a real property. Removed undocumented "public
	IPAddress(string)" constructor.

	* EndPoint.cs: Implemented.  All methods return
	NotSupportedException to enforce subclass overriding.

	* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
	P/Invokes with portable internal calls.

2002-01-23  Dick Porter  <[email protected]>

	* Win32Exception.cs: implement, with support for looking up
	runtime errors.

2002-01-23  Dick Porter  <[email protected]>

	* Marshal.cs: Added GetLastWin32Error()

	* ExternalException.cs: Implemented

2002-01-23  Dick Porter  <[email protected]>

	* System.Xml/XmlNode.cs: Fixed IndexerName attribute so it
	compiles under .net 1.0

2002-01-23  Dick Porter  <[email protected]>

	* Linux.cs: GetFileTime and SetFileTime need to be static

2002-01-23  Dick Porter  <[email protected]>

	* ManualResetEvent.cs:
	* AutoResetEvent.cs: Fixed DOS line endings

svn path=/trunk/mcs/; revision=2127
2002-01-23 19:19:34 +00:00
Miguel de Icaza db1bb4f4eb Mostly changes to get System.dll compiling again. Removes a bunch
of excludes, and now we actually build things.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Win32Exception.cs: Add.

2002-01-17  Miguel de Icaza  <[email protected]>

	* TraceListenerCollection.cs: Remove Warnings.

2002-01-17  Miguel de Icaza  <[email protected]>

	* Dns.cs: Updated to API changes.

	* IPAddress.cs: Updated API.  Much left to implement.

	* Dns.cs: Remove IPToString method

2002-01-17  Miguel de Icaza  <[email protected]>

	* SocketException.cs: Reimplemented.

svn path=/trunk/mcs/; revision=2023
2002-01-17 18:51:01 +00:00
Ravi Pratap M 7aec7b985f 2002-01-06 Ravi Pratap <[email protected]>
* Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
	attribute insertion.

svn path=/trunk/mcs/; revision=1868
2002-01-06 10:52:58 +00:00
Mads Pultz e9f5a497c9 * Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.
* DnsTest.cs: initial tests of BeginGetHostByName and EndGetHostByName implemented.

svn path=/trunk/mcs/; revision=964
2001-09-26 04:53:42 +00:00
Mads Pultz 6242fd93db * DnsTest.cs: now tests GetHostByAddress, GetHostByName, IpToString and Resolve.
* Dns.cs: Minor changes (some print statements removed).

svn path=/trunk/mcs/; revision=937
2001-09-24 03:40:55 +00:00
Mads Pultz d15c8ac724 * Dns.cs: Initial work submitted to repository.
* IPHostEntry.cs: Initial work submitted to repository.
---------------------------------------------------------------------

svn path=/trunk/mcs/; revision=929
2001-09-23 08:23:12 +00:00