Hello, all
Is it possible to add a new address family to io-net? Specifically,
we want to implement a minimal AF_UNIX. I can’t find anything in the
Network DDK docs. Is there another set of documentation we need? Or
is it even possible from an outside library?
Cheers,
Kevin
–
He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey
Kevin Lacquement <klacquement@syscor.com> wrote:
Hello, all
Is it possible to add a new address family to io-net? Specifically,
we want to implement a minimal AF_UNIX. I can’t find anything in the
Network DDK docs. Is there another set of documentation we need? Or
is it even possible from an outside library?
The idea is you only need to regist (attach) /dev/socket/1
Take a look of “socket()” function in cvs.qnx.com
(http://cvs.qnx.com/cgi-bin/cvsweb.cgi/tcpip/lib/socket/nto/socket.c?rev=1.1.1.1&content-type=text/x-cvsweb-markup)
-xtang
Cheers,
Kevin
–
He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey
Kevin Lacquement <klacquement@syscor.com> wrote:
: Hello, all
: Is it possible to add a new address family to io-net? Specifically,
: we want to implement a minimal AF_UNIX. I can’t find anything in the
: Network DDK docs. Is there another set of documentation we need? Or
: is it even possible from an outside library?
Since AF_UNIX deals with only local communication, you probably
don’t even need the network DDK. You’ll only need to handle
messages generated by the socket library. Check out the socket
library and the resmgr framework.
-seanb