* POSIX file_io, full-duplex problems
@ 1996-03-29 0:00 Patrik Sj�gren
0 siblings, 0 replies; only message in thread
From: Patrik Sj�gren @ 1996-03-29 0:00 UTC (permalink / raw)
Hi,
I'm trying to make my application (running on Sun,Solaris2.5, compiled
with gnat3.01) talk to a PC via /dev/ttyb. The "hardware-binding" I've
tried to use is forest1.4 (POSIX).
My problem is that I only get one-way communication to work (write_only
in one end and read_only at the other end). Should I be able to
open( /dev/ttyb, Read_Write ) and use one filedescriptor for both read and
write? I've tried this and also two filedescriptors for read or write but the
result is the same. The "write-end" gets garbage when trying to Read the
Read_Fd.
Could someone please give me a hint or direct me to existing software
using a similar setup?
thanks!/Patrik Sjogren
--
\_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_ \_
Patrik Sj�gren
Ericsson Microwave Systems AB
Display- and Reconnaissance Phone: (+46) 13 - 28 41 42
Systems Division Fax: (+46) 13 - 28 42 80
LM/EMW/FD/KL Email: Patrik.Sjogren@lmemw.ericsson.se
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-03-29 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-29 0:00 POSIX file_io, full-duplex problems Patrik Sj�gren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox