> I want to implement a chat server using the IPC in unix. I am
> planning to establish the one to one communication using FIFO. I want
> to incorporate other features like broadcasting and conferencing too.
> I am not sure this can be done with IPCs.
>
> I have the alternative of doing this with sockets by using the
> broadcasting feature and mulitcasting and group formation for the
> conferencing part. But I would like to know if I need to go for
> sockets as I am doing this entirely in a single host and whether this
> can be done with IPC's alone.
Pipes can practically - AFAIK - only used for one-to-one communication.
Using sockets would be in my eyes the right choice, just for the fact
that it is not just one-to-one. BROADCAST and MULTICAST sockets cannot
be used in your case.
The BROADCAST and MULTICAST are only indicating how you are addressing
hosts on the network (only one, a group or all). There are UNIX domain
sockets that are local to a host. They're entirely made for local use
and they're a good pick in your case.
Dirk.
--
There are two major products that come from Berkeley : LSD and UNIX.
We don't believe this to be a coincidence. (Jeremy S. Anderson)
SPONSORED LINKS
| Linux operating system | Linux os | Hosting linux unix web |
| Linux user | Unix vs linux | Linux operating system download |
YAHOO! GROUPS LINKS
- Visit your group "dubailug" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
