digitalmars.D.learn - RAW UDP Packets
- Jeremiah James (11/11) Mar 17 2013 Hello, all! I'm really starting to get into D and am enjoying it.
- Lubos Pintes (3/12) Mar 17 2013 You can find useful information in
- Jeremiah James (2/23) Mar 17 2013
Hello, all! I'm really starting to get into D and am enjoying it. 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?
Mar 17 2013
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 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?
Mar 17 2013
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 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?
Mar 17 2013