From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4197 invoked by alias); 1 Jan 2019 16:02:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4183 invoked by uid 89); 1 Jan 2019 16:02:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=connected, connection, gary, Graham X-HELO: mail-io1-f52.google.com Received: from mail-io1-f52.google.com (HELO mail-io1-f52.google.com) (209.85.166.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Jan 2019 16:02:06 +0000 Received: by mail-io1-f52.google.com with SMTP id b16so3276725ior.1 for ; Tue, 01 Jan 2019 08:02:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=DbdUVFvtmgPYfQ3BAIR2Yd4pq5rYSveWg7y1JErm7H8=; b=jzPItMh8ekUjquD/fDX3xVZr2FoNTKyi8y4U5ftDS3nZjsNoIf4ZxX1UoPrQqxz/tM Rbog45JTmpD6IDZKC2a7UdgbsHtBF6auoLvzr76PkpBN8fG/DA47Ff2FgmAiKlQuMiEl GRJjkRQLRGAz3dSP8Rz/zSgGsEibSMHvbRX4IveVOfqvnDTs4OePpSIShJ1M4omauxHk 3wFSWWy1MwyirD3HS1lWYZuROFbIBOf88Vtc8QRmjhnfHX9HfM6JgWGTnOrukc7webTA Wfp41a7TY1iE62Gw/BoG+liRCV1xWuPtJCxp69qLxnTcvKpom3oDCHhBM3k4o2igiLV3 Njog== Return-Path: Received: from [192.168.0.5] (d47-69-109-131.nap.wideopenwest.com. [69.47.131.109]) by smtp.gmail.com with ESMTPSA id f13sm22705135iol.82.2019.01.01.08.02.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jan 2019 08:02:04 -0800 (PST) Subject: Re: Virtual device in Windows 10 To: cygwin@cygwin.com References: From: cyg Simple Message-ID: <6e11200f-8bb6-0ad6-bb64-52b0a8757354@gmail.com> Date: Tue, 01 Jan 2019 16:02:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-01/txt/msg00002.txt.bz2 On 1/1/2019 2:18 AM, Gary Graham wrote: > I downloaded an updated version of the Cygwin tools and tried again.... > > C:\cygwin64\bin>socat -d -d pty,link=/dev/ttyV0,waitslave tcp: > 192.168.0.11:8023 > 2019/01/01 01:14:27 socat[10780] N PTY is /dev/pty0 > 2019/01/01 01:14:27 socat[10780] N opening connection to AF=2 > 192.168.0.11:8023 > 2019/01/01 01:14:28 socat[10780] N successfully connected from local > address AF=2 192.168.0.18:55426 > 2019/01/01 01:14:28 socat[10780] N starting data transfer loop with FDs > [5,5] and [6,6] > 2019/01/01 01:14:28 socat[10780] N read(5, 0x600056500, 8192): Input/output > error (probably PTY closed) > 2019/01/01 01:14:28 socat[10780] N socket 1 (fd 5) is at EOF > 2019/01/01 01:14:28 socat[10780] N socket 1 (fd 5) is at EOF > 2019/01/01 01:14:28 socat[10780] N socket 2 (fd 6) is at EOF > 2019/01/01 01:14:28 socat[10780] N exiting with status 0 > > Can you tell why the PTY is closing ? Both ends of the processes a Cygwin process? PTY is only available to Cygwin. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple