RAW Socket Access Denied to Non-Admin Windows XP

G

glathaa

When I tried to send a ICMP packet from a non-admin user, using
sendto() I am getting the following error WSAEACCES.

But the tracert/ping utilities of windows, is working fine.

Could anybody suggest a way to make it work?

Thanks for your response.

-L
 
J

Jan Peter Stotz

When I tried to send a ICMP packet from a non-admin user, using
sendto() I am getting the following error WSAEACCES.

But the tracert/ping utilities of windows, is working fine.

Could anybody suggest a way to make it work?

Did you try to use IcmpSendEcho() instead? The RequestOptions parameter
allows to specify the TTL.

Jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top