Is the device driver written as a QNX “resource manager”? It may
be enforcing single-client access for a good reason. If multiple
clients want to share access to the port, you will have to have
some kind of convention to keep track of which data goes with which
client. A data structure encapsulated in a “packet” is a popular
way to organize that kind of thing. And since you probably want to
avoid reinventing the wheel, the ideal way to use the port might be
to run TCP/IP over it, perhaps with the aid of devn-fd.so (though I
hope someone who knows more about devn-fd.so than I do will correct
me if that seems silly).
“Mankan” wrote, ca. Wed, 9 Apr 2003 15:22:43 -0400:
Thx for the reply…my basic question was…I am not using that adapter…we
have developed our
own hardware which uses NS83815 chip and we have written a code for opening
and sending data out of that port…
And my question was how to make muiltple application opening that port…do
i have to create
separate private data structure for each and every application going out of
hope I am able to make my question clear,if not…do let me know…I will
again put my question.
“David Bacon” <firstname.lastname@example.org> wrote in message
You can run as many ethernet protocols as you like simultaneously
over this adapter. What do you mean by “supports only one opening
“Mankan” wrote, ca. Wed, 9 Apr 2003 13:38:24 -0400:
This is regarding muiltiple opening of a port…as we found that in
the device driver written for NS83815 supports only one opening of
many applications try to open the same port…it sends error signal…
I happen to see, how 2 or more files are written to a floppy disk and my
is that writing more than 2 files takes place concurrently and that shows
can also have some way of doing the same thing with our NS83815 port.
Can you give me some suggestions or advice about how we can go ahead
this feature of muiltple opening of ports?