We are interested in implementing Bacnet over Ethernet. However, I’m unable to find any documentation on how to actually write directly to the ethernet interface (not TCP or UDP).
Some post suggest to use the code below in Linux but it does not seem to works on the ConnectPort X4.
Any suggestion?
s = socket(AF_PACKET, SOCK_RAW)
s.bind(("eth1", 0))