  | 
	
	
	
		UlrikMikkelsen Newbie
 
  Joined: 04 May 2004 Posts: 1 Location: Sweden
  | 
		
		  
			
			   Posted: Tue May 04, 2004 7:21 pm   
  Ping   | 
			 
			
				Heya.
 
 
I would really love to be able to ping when using Zmud.. so i could perhaps get the ping reply in the status window, However, I have no idea how to make such a thing. Perhaps one of you hotshots[8D] could help me?
 
 
Thanks in advance | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		john_taylor_jr Wanderer
 
  Joined: 17 Jan 2003 Posts: 57 Location: USA
  | 
		
		  
			
			   Posted: Tue May 04, 2004 9:00 pm      | 
			 
			
				Send an e-mail to zugg. The only ping you can get as of now is when you edit your char.
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		tcrown007 Beginner
 
  Joined: 14 Sep 2002 Posts: 24
 
  | 
		
		  
			
			   Posted: Wed May 05, 2004 5:02 pm      | 
			 
			
				You need a ping app that has a COM interface, like DSPing.  Get it here:
 
http://www.donia.com/DSPing.exe
 
 
Install that.  Then here's your class:
 
 
/CLASS {Ping}
 
/ALIAS zping {
 
  /ECHO {Pinging %1 with 3 packets at 32kb each...}
 
  /VAR dsping %comcreate( "DSPing.Ping")
 
  /VAR dsping_result {@dsping.DoPing("%1",3,2000,32)}
 
  /IF (@dsping_result=0) {/ECHO {Ping Successful}} {/ECHO {Ping Unsuccessful: Error code is @dsping_result}}
 
  /ECHO {Minimum ping was @dsping.Minimum ms.}
 
  /ECHO {Maximum ping was @dsping.Maximum ms.}
 
  /ECHO {Average ping was @dsping.Average ms.}
 
  /VAR dsping ""
 
  /VAR dsping_result ""
 
  }
 
/CLASS 0
 
 
usage: zping www.google.com
 
 
I use / for my command char, cuz I think the # is terribly unwieldy.  anyway, change the / to # and you should be good to go.
 
 
Read dsping.htm in the install directory for the error codes translations. | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		Full Throttle Wanderer
 
  Joined: 07 Dec 2004 Posts: 65
 
  | 
		
		  
			
			   Posted: Fri Jul 01, 2005 12:00 am      | 
			 
			
				Does anyone know of a traceroute application that has a COM interface?
  | 
			 
		  | 
	
	
	  | 
		  
		 | 
	
	
		  | 
	
	
		| 
		
		 | 
	
	
		 |