Dart Home | PowerTCP Ping Enterprise for Ax | Custom Development | Reply | PowerTCP Ping Enterprise Tool Topics | Forums |
Author | Forum: PowerTCP Ping Enterprise Tool Topic: error response (trace route issue) |
AlEdlund From: Crystal Lake, IL USA Posts: 26 Member Since: 06/25/04 |
posted November 11, 2004 3:50 PM building a trace route routine using the echo (synchronouse) call. Incrementing the TTL to test the path returns the correct error code (i.e. 11013 for ttl_expired) but the name and IP address of the station responding to the ICMP is not being reported. How do I get this data? What's coming back is the station we are trying to trace rather than the reporting station. (traced with sniffer to verify correct operation) Tks, Al |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 11, 2004 4:12 PM Can you simulate this with test code? If it's just a few lines post it here. Otherwise create a simple project and mail it to support@dart.com |
AlEdlund From: Crystal Lake, IL USA Posts: 26 Member Since: 06/25/04 |
posted November 11, 2004 5:08 PM simple for of a text block and a command button in vb.net..... Al Private Overloads Sub Command1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command1.Click Dim PR As DartPing.PingReply Dim lngTTL As Long Dim strOut As String For lngTTL = 1 To 16 ' documentation says this is a long but option strict ' requires it to be a short AxPing1.TimeToLive = CShort(lngTTL) ' need an target to trace PR = AxPing1.Echo("9.0.5.1") strOut = PR.RemoteName & " (" & PR.RemoteAddress & "): Error number: " & PR.Error strOut = strOut & vbCrLf Text1.Text = Text1.Text & strOut Next lngTTL End Sub |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 12, 2004 9:30 AM I have recorded this as issue #2876. When the issue is resolved I will contact you. If you have questions in between, please contact David Harry (sales@dart.com) Thanks and sorry for any inconvenience. |
AlEdlund From: Crystal Lake, IL USA Posts: 26 Member Since: 06/25/04 |
posted November 12, 2004 10:39 AM tony, Thanks. As an fyi theres another what appears to be a documentation error in the package that I found. The echocomplete lists the state as a type long, where as the start echo lists it as type variant (variant appears to be the correct). Also the properties list a 'tag' which I suspect is really the state property. Al |
AlEdlund From: Crystal Lake, IL USA Posts: 26 Member Since: 06/25/04 |
posted November 12, 2004 10:48 AM as a recommendation while they are investigating this, could I suggest that they move the reverse lookup function to later in the code (I think it happens early)? Specifically have the reverse lookup trigger on the ip address of the response rather than the query. This is obviously needed so that the wrong name doesn't become associated with the responding device. Thanks again, Al |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 12, 2004 11:04 AM Your feature request was logged. Also doc errors. The tag property you mention is not the same as the state. Tag is a string and is a property of the Ping control. State is an object and is used to pass info from the method to its ending event. |
Reply | PowerTCP Ping Enterprise Tool Topics | Forums |
This site is powered by
![]() |