X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TF/W6xDj8RS9dfGZ ZNl10RLHQCsatqLsS+G1C1alqNPmdX9annekQ9pvD/9MqzDyWKuewLjMigV0VM0J A5G2PbP2e1OQ7FBAcEscCSdgS5+nx8jmCwYHds1RUUwv3wXY8irvG5Nn9RW4/hdO Vd3lBweR+2dAbSjOBBHAMRwgUMY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=zw+D0vDRX5u9G7gmGMPjGS mb6D4=; b=RNIn86pKH/KiJ67AAHbp+qqQC88uZAKbZkcfoKJwtuOxsjR54FdDNS laEWhJqDa59JAGz5MJz9aOJxpdbPW3sZaUTQrAjxqP4ENpwuMMWtn6pBQw1UWslO 517PsNzXzkDYh+z8Y/bDLGmxCgWRsk/8WSuwpUXQoeT5andbuqRWQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, disturbing, Brian X-HELO: smtp-out-so.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Virtual device in Windows 10 To: cygwin AT cygwin DOT com References: <6e11200f-8bb6-0ad6-bb64-52b0a8757354 AT gmail DOT com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <17da6481-faf1-e8ca-e832-82d22f6ce9c2@SystematicSw.ab.ca> Date: Tue, 1 Jan 2019 14:11:26 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <6e11200f-8bb6-0ad6-bb64-52b0a8757354@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 2019-01-01 09:01, cyg Simple wrote: > 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. What is on the other side of the virtual port? You need either a data source/sink or an app. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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