VAXELN Datagram Service

Robert Jarratt robert.jarratt at ntlworld.com
Sat Jan 23 13:33:15 CST 2016


I am doing a bit of VAXELN programming and I am trying to get the Datagram
Service to only read packets of a certain EtherType, but unless I use
promiscuous mode, nothing is read. Here is the relevant code:

 

            form.format = ELN$K_NI_PTT;

            form.mux.ptt = 0x0360;

            mode = 0;

            pad = 0;

            eln$ni_connect(&status, &portalId,
config.clist.list[i].control_port, &dispatchPort, &form, NULL, &mode, NULL,
NULL, NULL, NULL, NULL, &pad);

 

Anyone know why this might not return any packets at all when I wait on the
port?

 

Regards

 

Rob

 



More information about the cctech mailing list