4

I was try on WINDOWS XP(but this is not the point), while I thought I cannot send or receive ARP packets with Raw Winsock, but some paper from Internet says yes, if so, how to set the Winsock functions?

Samuel Liew
  • 76,741
  • 107
  • 159
  • 260
Eliot Ding
  • 41
  • 2
  • It would help if you could include a link to the paper on the Internet that you refer to in your question. – Big GH Nov 12 '11 at 12:12

2 Answers2

6

I know this is an old post however it's worth mentioning that there is a Win32 API call for sending ARP requests:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366358(v=vs.85).aspx

jptros
  • 111
  • 2
  • 7
0

I don't think this makes sense. I would think ARP is a link layer protocol and requests are generated at network stack (if not NIC) level.

MK.
  • 33,605
  • 18
  • 74
  • 111