Yes, I believe that is the case. AF_UNIX sockets are in the
filesystem namespace. I don't know if you can trick it with
NFS mounts though...

MS

[EMAIL PROTECTED] wrote:
Does it mean if socket is opened with the domain AF_UNIX its for IPC
within the same machine.../??and if AF_INET across machine....

-----Original Message-----
From: Michael Schippling [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 20, 2006 1:37 AM
To: Pradeep T Ramakrishna (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: [Tinyos-help] AF_UNIX

It's so old that I've forgotten the details but it's just one of the
options for internal IPC. I believe it is basically a named pipe in the
filesystem space. It's a convenient way to configure your IPC for local
or 'global' access without having to change the code.

All of the local IPC mechanisms, pipes, queues, etal, probably boil down
to a shared memory implementation in the kernel, they just have
different access semantics. The named pipes are convenient because you
can connect them up by finding the end-points in the file system,
without having to have a common parent process.

Caveat -- all information from memory and one online man page --

MS

[EMAIL PROTECTED] wrote:
Hi ,
In sockets  we say that the domain types are like AF_INET and AF_UNIX,

the first is used for the Internet and the second one for the UNIX
IPC,does it mean that to AF_UNIX domain is used to communicate with
the process running in the same machine if yes during what secnarios
do we use them....
bcoz in unix we have pipes and fifos 2 communicate between the process

which have the same ancestors...in same machine then message queues
,shared memory etc between different unrelated process in the same
machine and sockets between different machine...


Thanks and Regards,
Pradeep TR


The information contained in this electronic message and any
attachments to this message are intended for the exclusive use of the
addressee(s) and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and destroy all copies of this message and any
attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of
viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com


----------------------------------------------------------------------
--

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-h
elp


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to