_daveInterface

A structure representing the physical connection to a PLC or a network of PLCs (e.g. like MPI). daveInterface stores all those properties that are common to a network of PLCs: - The local address used by your computer. - The speed used in this network. - The protocol type used in this network. - A name which is used when printing out debug messages.

The structure daveInterface is created and initialized by daveNewInterface:

daveInterface* di;
di = daveNewInterface(fds, "IF1", localMPI, daveProtoXXX, daveSpeedYYY);

or in D

auto sock = new TcpSocket(new InternetAddress(ip, to!(ushort)(port)));
fds.wfd = fds.rfd = sock.handle;
daveInterface* di = daveNewInterface(fds, "IF1", 0, daveProtoISOTCP, daveSpeed9k);
extern (C)
struct _daveInterface {}

Members

Variables

_timeout
int _timeout;
Undocumented in source.

Meta