From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29996 invoked by alias); 22 Apr 2004 15:14:02 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 29920 invoked from network); 22 Apr 2004 15:13:59 -0000 Received: from unknown (HELO hhlx01.visionsystems.de) (62.145.30.242) by sources.redhat.com with SMTP; 22 Apr 2004 15:13:59 -0000 Received: from kallisto.VisionSystems.local ([192.168.1.3]) by hhlx01.visionsystems.de (8.12.6/8.12.6) with ESMTP id i3MFDvsf002845; Thu, 22 Apr 2004 17:13:57 +0200 Received: from development1 ([192.168.1.36]) by kallisto.VisionSystems.local with Microsoft SMTPSVC(6.0.3790.0); Thu, 22 Apr 2004 17:14:32 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Roland =?iso-8859-1?q?Ca=DFebohm?= To: =?iso-8859-1?q?=D8yvind=20Harboe?= , ecos-discuss@sources.redhat.com Date: Fri, 23 Apr 2004 06:34:00 -0000 References: <1082637454.19993.21.camel@famine> In-Reply-To: <1082637454.19993.21.camel@famine> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200404221713.57199.roland.cassebohm@visionsystems.de> X-OriginalArrivalTime: 22 Apr 2004 15:14:32.0171 (UTC) FILETIME=[8392D3B0:01C4287C] X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.25.0.2; VDF 6.25.0.24 Subject: Re: [ECOS] Problems with ppp and Windows - Checked by AntiVir DEMO vers X-SW-Source: 2004-04/txt/msg00330.txt.bz2 Hello, I don't know if this could be the problem, but in my codes I=20 also initialize the sin_len member of the sockaddr_in=20 structure like: sin.sin_len =3D sizeof(sin); Although I know that under Linux the structure seems not to=20 have this member. I remember that I had some problems under eCos without doing=20 this, but I don't remember which problems. Best regards, Roland Am Donnerstag, 22. April 2004 14:37 schrieb =D8yvind Harboe: > I've run out of food and drink. This will be my last note > in my log :-) > > - the problem is that accept() in the attached > application does not wake up until I kill the telnet > process. I'm pretty confident that this app is correct, > because it works when I compile and runit from CygWin. - > Debugging TCP/IP is really difficult without an in depth > knowledge of TCP/IP and the freebsd stack. However, I > believe that accept() should be awoken by the invocation > of soisconnected() from tcp_input.c since this is what > happens when I kill the windows telnet process. I don't > know what the significance, if any, it is that TCPOPT_CC > is not received and hence a "3 way handshake" is to be > used instead. - As near as I can tell, Windows believes > it is connected, because I receive packets in my eCos > application for the text I typed into the telnet session > before I kill the telnet process. - I've submitted > various patches lately in this regard, but nothing > earthshattering. > > > Attached: echo.c CygWin/Linux echo app. Same code gets > stuck on accept() w/PPP, Windows PPP server when running > under eCos. --=20 ___________________________________________________ VS Vision Systems GmbH, Industrial Image Processing Dipl.-Ing. Roland Ca=DFebohm Aspelohe 27A, D-22848 Norderstedt, Germany Mail: roland.cassebohm@visionsystems.de http://www.visionsystems.de ___________________________________________________ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss