Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site sunybcs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!mcnc!philabs!cmcl2!seismo!rochester!rocksvax!sunybcs!ugthomas From: ugthomas@sunybcs.UUCP ( Timothy Thomas) Newsgroups: net.micro.pc Subject: Pascal and C access to com ports Message-ID: <1383@sunybcs.UUCP> Date: Fri, 22-Mar-85 19:10:40 EST Article-I.D.: sunybcs.1383 Posted: Fri Mar 22 19:10:40 1985 Date-Received: Tue, 26-Mar-85 05:25:31 EST Distribution: net Organization: State University of New York @ Buffalo,NY Lines: 24 After using several different communication packages on the market; I have decided to write my own because not all of them do what I want. I have decided to write it in either Turbo Pascal, or Lattice C. My main problem right now is sending and receiving data from the com1: port. I have only played around with it in Turbo Pascal, and can send data ok (I think) to the port, but how can I tell if there is data 'waiting' in the port to print? I cant do a read from the port to check; otherwise it will just sit there and wait for data to come in. What I would like to know is how to do some sort of a status on the port. Can anyone help me? Please send responses via mail. Thanks in advance, -- ...Tim Thomas ...{burdvax, rocksvax, bbncca, decvax, dual, rocksanne, watmath}!sunybcs!ugthomas Remember...... Only you can prevent software piracy.