traceroute ipv6 using vb6-VBForums
Results 1 to 2 of 2

Thread: traceroute ipv6 using vb6

  1. #1

    Thread Starter
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Question traceroute ipv6 using vb6

    Hello guys,

    Am trying to do traceroute using vb6, but don;t have any idea.

    Am thinking of using dos to do the job, and then capturing the output of dos in my app

    OR

    Another idea is converting the address from ipv6 to ipv4 and the do the traceroute in case the hardware doesnt support ipv6

    any ideas?
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

  2. #2

    Thread Starter
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    970

    Re: traceroute ipv6 using vb6

    I found out that i need to use this functions to implement ipv6 traceroute

    Icmp6CreateFile, Icmp6SendEcho2, and Icmp6ParseReplies

    and the declaration for each

    Icmp6SendEcho2
    vb Code:
    1. Declare Function IcmpCloseHandle Lib "ICMP.dll" ( _
    2.      ByVal IcmpHandle As Long) As Long

    Icmp6SendEcho2
    vb Code:
    1. Declare Function IcmpSendEcho2 Lib "ICMP.dll" ( _
    2.      ByVal IcmpHandle As Long, _
    3.      ByVal hEvent As Long, _
    4.      ByVal ApcRoutine As Long, _
    5.      ByRef ApcContext As Any, _
    6.      ByVal DestinationAddress As Long, _
    7.      ByRef RequestData As Any, _
    8.      ByVal RequestSize As Long, _
    9.      ByRef RequestOptions As Any, _
    10.      ByRef ReplyBuffer As Any, _
    11.      ByVal ReplySize As Long, _
    12.      ByVal Timeout As Long) As Long

    Icmp6ParseReplies

    vb Code:
    1. Declare Function IcmpParseReplies Lib "ICMP.dll" ( _
    2.      ByRef ReplyBuffer As Any, _
    3.      ByVal ReplySize As Long) As Long

    The point is that I don't know the constants, types and how to connect the remaining pieces together

    Help please
    Last edited by coolcurrent4u; Aug 4th, 2010 at 07:44 AM. Reason: typo
    Programming is all about good logic. Spend more time here


    (vHost for Apache) (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.