Commit Graph
12 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier dfb688280d 2009-01-26 Christian Prochnow <[email protected]>
* Ping.cs: ignore ICMP echo request packet in case we ping
	  localhost.

svn path=/trunk/mcs/; revision=124624
2009-01-27 03:51:13 +00:00
Gonzalo Paniagua Javier cd744f7acb 2008-12-20 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: use the new internal method in Socket to avoid having to
	throw exceptions when there's a timeout.


svn path=/trunk/mcs/; revision=121924
2008-12-20 10:53:59 +00:00
Gonzalo Paniagua Javier 28771e5482 2008-12-11 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: close the socket in SendPrivileged. Use Buffer.BlockCopy
	instead of Array.Copy. Return IPStatus.Unknown instead of throwing an
	exception for unknown status codes received.


svn path=/trunk/mcs/; revision=121278
2008-12-11 08:46:45 +00:00
Gonzalo Paniagua Javier b3db36863a 2008-11-20 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: the time for the arguments of 'ping' is in seconds. Don't
	read the output of running the command, since we trust the return
	code.


svn path=/trunk/mcs/; revision=119534
2008-11-20 23:15:54 +00:00
Atsushi Eno 801ecd1e6e 2008-10-27 Atsushi Enomoto <[email protected]>
* Ping.cs : use privileged mode for non-unix. On Windows there is
	  no /usr/bin/ping.


svn path=/trunk/mcs/; revision=117210
2008-10-27 21:51:30 +00:00
Marek Habersack a271f8ae6b 2008-07-14 Marek Habersack <[email protected]>
* Ping.cs: Use /bin/ping when running as non-root user
	(implementation by Jackson Harper <[email protected]>) or use
	raw sockets if running as root or if the current process has the
	CAP_NET_RAW Linux capability set while running as an unprivileged
	user.

svn path=/trunk/mcs/; revision=107871
2008-07-14 10:16:46 +00:00
Atsushi Eno 237d28ef60 2007-10-23 Atsushi Enomoto <[email protected]>
* Ping.cs : Do not call OnPingCompleted() at CancelAsync() it should
	  be called at RunWorkerCompleted. Simplified RunWorkerCompleted.


svn path=/trunk/mcs/; revision=87971
2007-10-23 10:06:35 +00:00
Atsushi Eno 4fd30c9f26 2007-09-06 Atsushi Enomoto <[email protected]>
* Ping.cs, PingReply.cs, PingCompletedEventArgs.cs : implemented
	  in managed code.


svn path=/trunk/mcs/; revision=85416
2007-09-06 13:56:47 +00:00
Sasha Kogan 2ea200459b Replace MonoTODO with MonoNotSupported
svn path=/trunk/mcs/; revision=80781
2007-06-26 13:51:22 +00:00
Andrew Skiba f43e959572 revert unnecessary TARGET_JVM commit
svn path=/trunk/mcs/; revision=66183
2006-10-03 12:44:11 +00:00
Andrew Skiba 95ae5d78d3 TARGET_JVM
svn path=/trunk/mcs/; revision=66029
2006-09-28 13:41:05 +00:00
Gonzalo Paniagua Javier 601398134b 2006-02-24 Gonzalo Paniagua Javier <[email protected]>
* UnicastIPAddressInformation.cs:
	* PingException.cs:
	* TcpConnectionInformation.cs:
	* IPv4InterfaceStatistics.cs:
	* NetworkInformationException.cs:
	* IPAddressInformation.cs:
	* MulticastIPAddressInformationCollection.cs:
	* TcpStatistics.cs:
	* IPGlobalStatistics.cs:
	* NetworkInformationPermission.cs:
	* MulticastIPAddressInformation.cs:
	* IcmpV4Statistics.cs:
	* IcmpV6Statistics.cs:
	* IPv4InterfaceProperties.cs:
	* PhysicalAddress.cs:
	* IPv6InterfaceProperties.cs:
	* GatewayIPAddressInformationCollection.cs:
	* ChangeLog: Modified file.
	* UnicastIPAddressInformationCollection.cs:
	* IPAddressCollection.cs:
	* NetworkInformationPermissionAttribute.cs:
	* Ping.cs:
	* NetworkChange.cs:
	* IPAddressInformationCollection.cs:
	* UdpStatistics.cs:
	* GatewayIPAddressInformation.cs:
	* IPGlobalProperties.cs:
	* IPInterfaceProperties.cs:
	* NetworkInterface.cs: implemented or stubbed out.


svn path=/trunk/mcs/; revision=57264
2006-02-24 22:47:15 +00:00