delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/23/03:38:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 23 Oct 2005 09:38:20 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Socket read problem on Windows XP Pro & Cygwin
Message-ID: <20051023073820.GF27476@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20051022035348.RADA2767.eastrmmtao03.cox.net@[172.18.52.8]> <4359C50C DOT 76649CA1 AT dessent DOT net> <loom DOT 20051022T083200-857 AT post DOT gmane DOT org> <4359EB14 DOT E677A317 AT dessent DOT net> <loom DOT 20051022T153140-747 AT post DOT gmane DOT org> <435AAAB9 DOT 27CDE133 AT dessent DOT net> <loom DOT 20051022T234629-996 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20051022T234629-996@post.gmane.org>
User-Agent: Mutt/1.4.2i

On Oct 22 21:50, Todd Rearick wrote:
> Brian Dessent <brian <at> dessent.net> writes:
> 
> > What I was trying to emphasize is that passing "COM4" to open() in a
> > Cygwin program sets you up for a world of hurt...
> > 
> > Brian
> 
> It's even worse than you think.  In this case...COM4 is not even a real serial
> port...but a "virtual" serial port constructed by a USB driver.  Fortunately for
> me...because it's not a real port...I don't actually need to configure it at
> all....
> 
> I'm actually quite impressed that I can even open COM ports and write to them
> and it all seems to work OK via cygwin.  Thanks for the warning and the help.

You should nevertheless use /dev/com4 or /dev/ttyS3.  I might be wrong
but it still looks like you don't quite see what Brian was up to.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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