www.delorie.com/archives/browse.cgi | search |
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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=PU3d2T8 | |
flYaM8Elt6T0je7/FabxE9AqVdrOfaPIT0kRpLXovY2xJpydfrCORW90vWGFygy0 | |
8M6md8pUFM8Oy15mRmfMQX9kds3/YfYnXlSi7mUKwiJnum9mcAnaG70QFc/kMdlu | |
DWJjmmH8i7CJh/1KiWFFYAtfMHGlBGtFMqQQ= | |
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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; s=default; bh=Un5sTiQMBMCVr | |
tx+FKUdHLSTg7E=; b=asQkCCGl7N1+DwGiOAWuNLxXpDqmnskCiIYqw4eensxQb | |
PgxmSdvX2uxJEA5rKa1J7Ndyd0V3RYvdr9SkywTd6d09ajZhLGs1YFshV4J3qOb2 | |
wp465kv7pYM+o0hKRzZ7Th2RTbbrsvY7oHBDfvwYR3tNolF39egBCoDQfrfVOg= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=1.6 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS,WEIRD_PORT autolearn=no version=3.3.2 spammy=Greetings, connected, connection, Gary |
X-HELO: | mail-wr1-f49.google.com |
MIME-Version: | 1.0 |
References: | <CA+CBp6emQiWXZc2PyQ3KtOsuVa9gEVmAz8base1xKep9mV=22A AT mail DOT gmail DOT com> |
In-Reply-To: | <CA+CBp6emQiWXZc2PyQ3KtOsuVa9gEVmAz8base1xKep9mV=22A@mail.gmail.com> |
From: | Gary Graham <gegcorp2012 AT gmail DOT com> |
Date: | Tue, 1 Jan 2019 01:18:42 -0600 |
Message-ID: | <CA+CBp6d-O-051ufgt67apS0Qy6Sq87K5+C0OrY3VBXT9o8yf5g@mail.gmail.com> |
Subject: | Re: Virtual device in Windows 10 |
To: | cygwin AT cygwin DOT com |
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 ? Regards, Gary G. On Tue, Jan 1, 2019 at 12:37 AM Gary Graham <gegcorp2012 AT gmail DOT com> wrote: > Greetings, > > Trying to use socat to bridge from the network to a virtual serial port on > Windows. > The detailed output shows a connection is opening, but it does not stay > open. > > > > socat -d -d pty,link=virtualcom0,waitslave tcp:192.168.0.11:8023 > 2 [main] socat 15388 find_fast_cwd: WARNING: Couldn't compute > FAST_CWD pointer. Please report this problem to > the public mailing list cygwin AT cygwin DOT com > 2019/01/01 00:29:15 socat[15388] N PTY is /dev/pty0 > 2019/01/01 00:29:15 socat[15388] N opening connection to AF=2 > 192.168.0.11:8023 > 2019/01/01 00:29:15 socat[15388] N successfully connected from local > address AF=2 192.168.0.18:51704 > 2019/01/01 00:29:15 socat[15388] N starting data transfer loop with FDs > [3,3] and [4,4] > 2019/01/01 00:29:15 socat[15388] N socket 1 (fd 3) is at EOF > 2019/01/01 00:29:15 socat[15388] N exiting with status 0 > > -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |