Hello again,
A virtual com port under Win32 is a driver that ‘simulates’ a standard com
port
so that your program that normally connects to a physical port on the local
PC
can ‘see’ it and use it. If you have for instance 2 physical com ports on
your PC
and windows reports 99, then ports 3 up to 99 are ‘virtual’. Their physical
ports
can be on several PC’s connected via ethernet.
Regards
Geir
Geir Lexau wrote:
Hello again,
A virtual com port under Win32 is a driver that ‘simulates’ a standard com
port
so that your program that normally connects to a physical port on the local
PC
can ‘see’ it and use it. If you have for instance 2 physical com ports on
your PC
and windows reports 99, then ports 3 up to 99 are ‘virtual’. Their physical
ports
can be on several PC’s connected via ethernet.
Ha ! This is one of those things that requires a kludge in Windows, but
is simply a natural extension of the OS architecture in QNX.
If you want to use the serial port on another machine on the net, you
simply open("/net/machine.name/dev/ser{x}") where {x} is the port number.
Rennie
Are they allocated in pairs so that the output side of one is the input side
of another?
“Geir Lexau” <geir.lexau@holta-haaland.no> wrote in message
news:a9hjbo$7fl$1@inn.qnx.com…
Hello again,
A virtual com port under Win32 is a driver that ‘simulates’ a standard com
port
so that your program that normally connects to a physical port on the
local
PC
can ‘see’ it and use it. If you have for instance 2 physical com ports on
your PC
and windows reports 99, then ports 3 up to 99 are ‘virtual’. Their
physical
ports
can be on several PC’s connected via ethernet.
Regards
Geir
Rennie Allen <rallen@csical.com> wrote:
Geir Lexau wrote:
Hello again,
A virtual com port under Win32 is a driver that ‘simulates’ a standard com
port
so that your program that normally connects to a physical port on the local
PC
can ‘see’ it and use it. If you have for instance 2 physical com ports on
your PC
and windows reports 99, then ports 3 up to 99 are ‘virtual’. Their physical
ports
can be on several PC’s connected via ethernet.
Ha ! This is one of those things that requires a kludge in Windows, but
is simply a natural extension of the OS architecture in QNX.
If you want to use the serial port on another machine on the net, you
simply open("/net/machine.name/dev/ser{x}") where {x} is the port number.
Rennie, you’ve gotten corrupted by your QNX Neutrino development…we’re
in QNX4 land here.
That would be:
open("//node/dev/ser{x}",…) under QNX4.
e.g.
fd = open("//4/dev/ser{x}", O_RDWR );
-David
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.
David Gibbs wrote:
Rennie, you’ve gotten corrupted by your QNX Neutrino development…we’re
in QNX4 land here. >
Sorry, thought I was in a different group…
Rennie