Re: Network packet loss possible inside the linux kernel?
- From: david <none@xxxxxxxxxx>
- Date: 22 Sep 2007 22:05:33 GMT
On Sat, 22 Sep 2007 19:20:28 +0200, Daniel Kay rearranged some electrons
to say:
david wrote:
On Sat, 22 Sep 2007 08:44:55 +0200, Daniel Kay rearranged some
electrons to say:
Hello folks!
I am currently planning to implement an easy way to communicate
between multiple processes on the local machine. Every process may
sends events (in form of a null terminated string) as multicast UDP
messages. The other processes react on these events if required.
Have you considered the interprocess communications features already
found in *nix?
http://tldp.org/LDP/lpg/node7.html
I think using pipes and fifos are an easy and simple way to communicate
between two processes. But I don't see any easy way using these
mechanisms for communication between multiple processes. I can't fork,
and I don't want to open a named pipe in every communication direction.
I do not have much experience with System V IPC. And using shared memory
is dangerous, which could block the whole communication, if one process
with a lock on a semaphore/mutex crashes.
Look at message queues, that might do what you want.
.
- References:
- Network packet loss possible inside the linux kernel?
- From: Daniel Kay
- Re: Network packet loss possible inside the linux kernel?
- From: david
- Re: Network packet loss possible inside the linux kernel?
- From: Daniel Kay
- Network packet loss possible inside the linux kernel?
- Prev by Date: Re: A script for scanning the internet for one particular index.html?
- Next by Date: Re: Advice needed for network planning (Firewall, Proxy, DNS, DHCP, SMB, FTP, HTTP, SSH, VPN)
- Previous by thread: Re: Network packet loss possible inside the linux kernel?
- Next by thread: Re: Network packet loss possible inside the linux kernel?
- Index(es):
Relevant Pages
|