delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/14:38:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <SCutcomb AT KestrelSolutions DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <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)

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 = <COM1>;           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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019