I am a beginner of Qnx4.25. And i am writing a simple program in which i have to register with the Net to get some services. From some sample codes, it sames that a protocol should be registered with the Net in the sequence below:
. Find the proxy of the Net by locating the name of the Net, such as
“qnx/net”. Then it gets the PID of the Net’s proxy.
. Build a registrable structure of a protocol.
. Register with the Net now by sending the above structure to the proxy
of the Net.
So, i have some questions:
1> There is a LAN-index flag in the registrable structure. Can i make
my program to use a certain Ethernet Card by this flag?
2> What is the meaning of registering a RAW protocol with the Net?
3> How to receive some packets from the Net? And how to send to it?
Thanks a lot.