Windows networking using only Ethernet Frames

前端 未结 3 2069
Happy的楠姐
Happy的楠姐 2021-01-13 01:58

I\'m doing a project where I must write a network library for a device connected to a Windows machine. The complication comes in that I may only communicate with the device

相关标签:
3条回答
  • 2021-01-13 02:17

    As well as winpcap and NDIS you could also look at raw sockets which are a standard part of the Windows API and don't require you to write driver code http://msdn.microsoft.com/en-us/library/ms740548(v=vs.85).aspx.

    0 讨论(0)
  • 2021-01-13 02:27

    Give the WinAoE code a look-see - it says it lets Windows talk to ATA over Ethernet devices which means it has to communicate without any of the upper layers of the network stack.

    Edited:

    As near as I can tell, if you want to send raw ethernet frames, you want NdisSend and friends.

    0 讨论(0)
  • 2021-01-13 02:32

    Use WinPCap, it has an an API to send and listen to raw data.
    You can build your communicate layer with it.

    0 讨论(0)
提交回复
热议问题