public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] AF_UNIX in ecos
@ 2011-05-12 11:14 ratheesh kannoth
  2011-05-12 11:47 ` ratheesh kannoth
  2011-05-13  8:30 ` Daniel Morris
  0 siblings, 2 replies; 5+ messages in thread
From: ratheesh kannoth @ 2011-05-12 11:14 UTC (permalink / raw)
  To: ecos-discuss, ecos-discuss

eCos support AF_UNIX sockets ?


-Ratheesh

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ECOS] AF_UNIX in ecos
  2011-05-12 11:14 [ECOS] AF_UNIX in ecos ratheesh kannoth
@ 2011-05-12 11:47 ` ratheesh kannoth
  2011-05-13  8:30 ` Daniel Morris
  1 sibling, 0 replies; 5+ messages in thread
From: ratheesh kannoth @ 2011-05-12 11:47 UTC (permalink / raw)
  To: ecos-discuss, ecos-discuss

eCos support AF_UNIX sockets ?


-Ratheesh

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] AF_UNIX in ecos
  2011-05-12 11:14 [ECOS] AF_UNIX in ecos ratheesh kannoth
  2011-05-12 11:47 ` ratheesh kannoth
@ 2011-05-13  8:30 ` Daniel Morris
  2011-05-15 12:09   ` ratheesh kannoth
  1 sibling, 1 reply; 5+ messages in thread
From: Daniel Morris @ 2011-05-13  8:30 UTC (permalink / raw)
  To: ratheesh kannoth; +Cc: ecos-discuss

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


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] AF_UNIX in ecos
  2011-05-13  8:30 ` Daniel Morris
@ 2011-05-15 12:09   ` ratheesh kannoth
  2011-05-16  7:18     ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: ratheesh kannoth @ 2011-05-15 12:09 UTC (permalink / raw)
  To: Daniel Morris; +Cc: ecos-discuss

On Thu, May 12, 2011 at 5:16 PM, Daniel Morris <danielm@ecoscentric.com> 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.

-Ratheesh

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] AF_UNIX in ecos
  2011-05-15 12:09   ` ratheesh kannoth
@ 2011-05-16  7:18     ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2011-05-16  7:18 UTC (permalink / raw)
  To: ratheesh kannoth; +Cc: Daniel Morris, ecos-discuss

On 05/14/2011 11:03 AM, ratheesh kannoth wrote:
> On Thu, May 12, 2011 at 5:16 PM, Daniel Morris<danielm@ecoscentric.com>  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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-15 12:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 11:14 [ECOS] AF_UNIX in ecos ratheesh kannoth
2011-05-12 11:47 ` ratheesh kannoth
2011-05-13  8:30 ` Daniel Morris
2011-05-15 12:09   ` ratheesh kannoth
2011-05-16  7:18     ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).