CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    19

    Ping - Administrator priviledges

    Hi,
    I am facing a problem where I have a ping program which uses RAW sockets. Now my sendto call on this socket fails in scenarios where the pinging application is running in non administrator account. Microsoft says that for security reasons it will not allow this from windows 2K onwards.
    Now my question is is there a work around for this or can some one sugggest an alternative ?

    regards,
    ranjan.

  2. #2
    Join Date
    Apr 2003
    Posts
    19

    Wink

    Hi,
    I found this solution where I can use functions provided by ICMP.dll to ping successfully in non-administrator context. This does solve my problem to a certain extend.

    regards,
    ranjan.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured