Re: Connector - how to start?

Evgeniy Polyakov
2006-04-16T17:10:19Z

On Sun, Apr 16, 2006 at 11:53:23AM +0400, Evgeniy Polyakov (johnpol@2ka.mipt.ru) wrote:
> On Sat, Apr 15, 2006 at 03:24:26PM +0200, Libor Vanek (libor.vanek@gmail.com) wrote:
> > OK, so what would you suggest as the right "tool" to transfer these
> > (full path text) information?
> >
> > I see these options:
> > 1, Keep using procfs (I don't like it)
> > 2, Use connector and create such "communication protocol" that it'll
> > be able to transfer such long messages in more datagrams (even if
> > 99.99% of messages will fit 1 datagram)
> > 3, Some other API to transfer information to user-space and back?
> >
> > I'll probably go with 2, but I'd be more then happy to hear any
> > comments about this...

Btw, I forgot to say, that CONNECTOR_MAX_MSG_SIZE restriction to maximum
allowed message size is only applicable for userspace->kernelspace
direction. Messages, emmited by kernel, can have any size you want.