Ah-ha! Thank you!
On Sunday, 17 March 2013 at 19:40:35 UTC, Lubos Pintes wrote:
You can find useful information in
<phobossrc>\phobos\std\c\windows\winsock.d
Dňa 17. 3. 2013 9:27 Jeremiah James wrote / napísal(a):
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?