Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 11:53:54 +0100
From:      Jonathan Belson <jon@witchspace.com>
To:        freebsd-questions@freebsd.org
Subject:   [Q] Sockets verses message queues?
Message-ID:  <3DB922C2.30009@witchspace.com>

next in thread | raw e-mail | index | archive | help
Hiya


I'm writing an application which will fork into two processes
(master/slave), and I require that the two be able to
communicate asynchronously.  The master will send commands to
the slave then get on with other things, and the slave will
send a message back when it's finished.

Is there any advantage to using AF_UNIX sockets rather than
message queues, or vice versa (I was thinking about speed,
but sockets seem to be more complicated code-wise)?

Cheers,


--Jon

http://www.witchspace.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB922C2.30009>