RAW UDP Packets

Jeremiah James jwjames83 at gmail.com
Sun Mar 17 01:27:21 PDT 2013


Hello, all! I'm really starting to get into D and am enjoying it. 
I come from a C# background, so the transition is pretty nice; 
just the right mix of things I'm familiar with yet learning 
something new.

I'm starting a project where I need to send a raw UDP packet to a 
specific MAC address. I've done some tests using a .Net interface 
to WinPCap and the results were good for what my application 
need, however a dependency on WinPCap is not acceptable.

In C++, there is an IP_HDRINCL for setsockopt, however I'm not 
seeing that in D. Am I out of luck in creating the headers for a 
raw UDP packet?


More information about the Digitalmars-d-learn mailing list