I am doing a project where I have to write a network library for a device connected to a Windows machine. The complication is that I can only communicate with the device using Ethernet frames. Thus, TCP / UDP / IP is generally absent. I do not think the bind / listen / accept method can be applied here, but maybe I'm wrong. In addition, there is no routing or switching.
I have a few questions. How to use a socket to communicate with this device? Does winsock only support frames? I could not find many resources on this. Does anyone have any ideas on how I should act?
Is using sockets even a good idea or can I just send the information with the appropriate headers?
source
share