From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,CTE_8BIT_MISMATCH, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,be82272d84059eb6,start X-Google-Attributes: gid103376,public From: Patrik Sj�gren Subject: POSIX file_io, full-duplex problems Date: 1996/03/29 Message-ID: <315B9B00.3B59@lmemw.ericsson.se>#1/1 X-Deja-AN: 144817133 content-type: text/plain; charset=iso-8859-1 organization: Ericsson Microwave Systems AB Link�ping mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.0GoldB1 (WinNT; I) Date: 1996-03-29T00:00:00+00:00 List-Id: 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 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/