| View previous topic :: View next topic |
| Author |
Message |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Wed Nov 05, 2003 8:40 pm Post subject: Trace Route |
|
|
| Does anyone kwow of a way to do trace route through API or Dll. |
|
| Back to top |
|
 |
Protected Valued Contributor


Joined: 02 Jan 2001 Posts: 228 Location: Portugal
|
Posted: Thu Nov 06, 2003 9:19 am Post subject: |
|
|
| I thought traceroute requires a server to start from? Are there any servers that allow people to call them from programs? |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Thu Nov 06, 2003 9:52 am Post subject: Re: Trace Route |
|
|
| bbelcher wrote: | | Does anyone kwow of a way to do trace route through API or Dll. |
Um, yes, but not in the way you hope, I think. It is done using the Winsock API, but there are a lot of calls involved. There isn't one "traceroute this" API. I don't think Winsock could be done through @lib() calls, it's way too complex. The VDS Internet Suite 2 has a TraceRoute example... _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Thu Nov 06, 2003 12:47 pm Post subject: |
|
|
The VDS Internet Suite 2 example is just what I was looking for.
Thanks! |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Nov 06, 2003 4:58 pm Post subject: |
|
|
| A tracert/traceroute is nothing more then an ICMP packet request (ping uses icmp) and changing the TTL on each lookup. I've included a simple tracert example with the VDSIPP extension, the new download is available at vdsworld. |
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Thu Nov 06, 2003 5:47 pm Post subject: |
|
|
Cool I love options !!
Thanks PGWARE |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1565
|
Posted: Thu Nov 06, 2003 5:58 pm Post subject: |
|
|
| You may want to download the vdsipp again, I just uploaded it after your post with a new @internet(icmp,hostname) function which returns the hostname of the ip address. |
|
| Back to top |
|
 |
bbelcher Contributor

Joined: 30 Jul 2002 Posts: 172
|
Posted: Thu Nov 06, 2003 6:04 pm Post subject: |
|
|
| You rock !! |
|
| Back to top |
|
 |
|