Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
peer_p.h File Reference

Private: which process is at the other end of a local connection, and what it is (design 0033). More...

#include <sonde/sonde_core_export.h>
#include <QtCore/QString>

Go to the source code of this file.

Namespaces

namespace  Sonde
 Embeddable Model Context Protocol server for Qt applications.

Functions

qint64 Sonde::Peer::localSocketPeer (qintptr descriptor)
 The process id at the other end of the connected local socket or named pipe descriptor (QLocalSocket::socketDescriptor()), or -1 if the system won't say.
QString Sonde::Peer::executableOf (qint64 pid)
 The program process pid runs, as a full path, or empty.
qint64 Sonde::Peer::parentOf (qint64 pid)
 The parent of process pid, or -1.

Detailed Description

Private: which process is at the other end of a local connection, and what it is (design 0033).

Best effort: what can't be learnt is -1 or empty.