From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30499 invoked by alias); 15 May 2011 12:09:44 -0000 Received: (qmail 30466 invoked by uid 22791); 15 May 2011 12:09:41 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hermes.mlbassoc.com (HELO mail.chez-thomas.org) (64.234.241.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 15 May 2011 12:09:25 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 9373116601A9; Sun, 15 May 2011 06:09:23 -0600 (MDT) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id C5B681660108; Sun, 15 May 2011 06:09:22 -0600 (MDT) Message-ID: <4DCFC272.1080407@mlbassoc.com> Date: Mon, 16 May 2011 07:18:00 -0000 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: ratheesh kannoth CC: Daniel Morris , ecos-discuss@ecos.sourceware.org References: <20110512114651.GB499@brand.ammanford.ecoscentric.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] AF_UNIX in ecos X-SW-Source: 2011-05/txt/msg00040.txt.bz2 On 05/14/2011 11:03 AM, ratheesh kannoth wrote: > On Thu, May 12, 2011 at 5:16 PM, Daniel Morris wrote: >> On Thu, May 12, 2011 at 04:44:24PM +0530, ratheesh kannoth wrote: >>> eCos support AF_UNIX sockets ? >> >> Round cheeses roll? >> >> http://www.gerv.net/hacking/how-to-ask-good-questions/ >> >> Daniel >> >> %<---------------------------------------------------------------------- >> Daniel Morris - Sales& Marketing Director >> eCosCentric - The eCos and RedBoot experts >> Tel: +44 1223 245 571 - info@eCosCentric.com >> DDI: +44 1269 591 171 - danielm@eCosCentric.com >> >> > > Daniel, > > I did some experiment on AF_UNIX support in eCos. I have a strange prob. > > int s = socket(AF_LOCAL, SOCK_DGRAM, 0 ); > sleep(120); > int k = socket(AF_LOCAL, SOCK_DGRAM, 0 ); > > The first socket system call fails with errno 325( protocol not > supported ). but second socket() call succeed . But, AF_INET socket is > created without any error. > > http://www.ecoscentric.com/ecospro/doc.cgi/html/ref/net-common-tcpip-manpages-socket.html > mentions support of AF_LOCAL. But in ecos-3.0, > packages/net/snmp/lib/v3_0/src/snmp_api.c : 165 says "no support for > local sockets ". > > If anybody has some clue, greatly appreciated. Local sockets, which are normally implemented using named pipes, are not supported in eCos. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss