The protocol between the library and the remote spy daemon


The remote spy daemon and the library communicate using Unix sockets.

The remote spy daemon creates a Unix socket and puts itself in a listening state. On the other side, the library connects itself to the same socket and starts the communication.

A data retreival cycle is made of:

  1. A request from the library: (2 unsigned ints)

    OffsetNameMeaning
    0magicMust be RSPYD_MAGIC_NUMBER
    4last_event_nrThe last event number received (0 to get the first)

  2. The response from the remote spy daemon: (header + data)


Top of the page. The remote spy daemon documentation.
Send comments to: Igor Sfiligoi

Created:17.9.1997
Last modified:28.10.1997