Question about payload/share protocol

Andy Holmes andrew.g.r.holmes at gmail.com
Tue Sep 19 21:10:52 UTC 2017


Hi,

I'm trying to understand the payload protocol, used for the share
plugin and elsewhere, but having a hard time following the code since
I don't write C++.

I'm using protocol version 7 so I assume a TLS socket is opened to the
device host address at the port specified in "payloadTransferInfo",
but I can't establish a successful handshake. If I try sending an
identity packet (as in LanLinkProvider::connected), the handshake
fails immediately, but if I don't the handshake never completes.

On the other hand, if I open a connection without SSL/TLS the
connection never has data waiting. Could someone give me a rough
breakdown of what happens here?


More information about the KDEConnect mailing list