Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <199DA8AB2CCDD21187190090273A8AFE01470689@PLUTO> From: Steve Cutcomb To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Cygwin PERL utility - Can it access COM1/Com2 under WinNT? Date: Thu, 14 Sep 2000 11:34:22 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Dear Cygwin guys, I just read your section in http://wntweb2.ethz.ch/ActivePerl/perltoc.html and was looking for an answer to the following question. We are adept at LAN comminucation over sockets from our PC, under LINUX, but recently have had the need to communicate directly to COM1/COM2 ports under WinNT (or MS-DOS, if need be). We were wondering if there is an equivalent set of PERL commands for accessing the COM ports like there are for sockets (e.g. socket, connect, accept, bind, select, send, read, etc). Or do we just say: open(COM1,"COM1"); then print COM1 "Hello!"; to write, and $data = ; to read? Please let me know if you can answer or refer our question. Thanks. Steve Cutcomb Kestrel Solutions, Test Automation Team Mountain View, CA 94040 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com