www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <25e2d6fe0701180840k6bd5b27di630bca3a0a010ac3@mail.gmail.com> |
Date: | Thu, 18 Jan 2007 17:40:27 +0100 |
From: | "Florent Morin" <morinflorent AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | cygwin 1.5.23-2 : I can't use select() with serial device and socket |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Hello, I have a problem using cygwin. My program does this : - It accept a socket connection, - it listen on it, - it open serial device read/write (O_RDWR), - it create 2 fd_sets, - listening loop : - adding file descriptors to sets, - call select(), - if something is on serial port, I write it to socket, - if something is on socket, i write it to serial It works fine on Linux. With windows, only read or write works fine. If I begin on reading on serial, I can't write after (access denied). If I begin on writing on serial, I can't read after (access denied). If someone have a solution, thanks to help me, please... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |