Hi,
firstly, i am
making the assumption that you are referring to using UDP as a IPC for the
daemon, and i'm answering with that in mind.
(i don't want to
get into a debate into the various pros and cons of each IPC mechanisms.
there are people more qualified for that..)
when the daemon
was first started, the sctp library only supported registering UDP callbacks
with its event loop, and that was the easiest way forward to get things
going. Using other form of IPC means finding a way to integrate them with the
event loop of the sctp library. It was method that i was comfortable with and in
truth, no REAL comparsion of the merits of each methods of IPC was done.
that is of course not to say that a review may not be needed. (but i won't be
doing that now as my concern now is mainly in maintaining the state integrity of
the daemon)
of course,
proposed alternative (preferably in the form of source code) is most
welcome.
cheers
wc
|
Archive powered by MHonArc 2.6.19+.