[REBOL] Re: ouverture port serie
From: dlhawley::attbi::com at: 9-Dec-2002 23:06
whether or not 2 programs can open the same serial portprobably depends
on your operating system.
Under POSIX (LINUX) like os, you may be able to open multiple times for
write and maybe even read. This will depend on port permissions andany
locking done by the first programto do an open.
If you open 2x for read, then you may be surprised at what you see from
each reader since data read by one will not be available to the other.
Write data will also be intermixed depending on buffering between the
two writers and the serial port driver.
Dave
G. Scott Jones wrote:
>From: "philippe GROLLEAU"
>
>>est il possible d'ouvrir un port serie deja utilisé
>>par une autre application ?
>>
>>
>
>BabelFish: "it is possible to open a port series already used by another
>application? "
>
>Hi, Philippe,
>
>No. Do you want to see what information is being passed through a serial
>port by another application?
>
>BabelFish(???): "Non. Voulez-vous voir quelle information est passée par une
>porte série par une autre application?"
>
>--Scott Jones
>
--
David L. Hawley D.L. Hawley and Associates 1.503.274.2242
Software Engineer [David--L--Hawley--computer--org]