Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::SessionPeer Struct Reference

What the operating system says about a client, as far as Sonde can learn it. More...

#include <session.h>

Public Attributes

qint64 pid = -1
 The process at the other end of the local socket (-1 over HTTP).
QString executable
 The program that process runs, as a full path.
qint64 parentPid = -1
 That process's parent: for a client behind sonde-bridge, the agent that started the bridge.
QString parentExecutable
 The program the parent runs, as a full path.
QHostAddress address
 The remote address of an HTTP client (null for the local socket).

Detailed Description

What the operating system says about a client, as far as Sonde can learn it.

None of it proves who the client is: it tells the user which process is at the other end, so that they can decide. A field Sonde couldn't learn is -1 or empty.

Member Data Documentation

◆ address

QHostAddress Sonde::SessionPeer::address

The remote address of an HTTP client (null for the local socket).

Normally 127.0.0.1, so the bearer token, not the address, keeps other clients out.

◆ pid

qint64 Sonde::SessionPeer::pid = -1

The process at the other end of the local socket (-1 over HTTP).

A client that connects through sonde-bridge shows the bridge here.


The documentation for this struct was generated from the following file: