libvncserver icon indicating copy to clipboard operation
libvncserver copied to clipboard

libvncclient: add hooks for custom socket I/O

Open tobydox opened this issue 4 years ago • 6 comments

This allows using libvncclient on any kind of custom transport, e.g. for TLS tunneling via a special TLS socket implementation. May be the function pointer / hook names can be improved to better reflect the actual purpose.

tobydox avatar Jul 19 '21 06:07 tobydox

Am currently on vacation, can review end of July - how does this relate to / replace #234?

bk138 avatar Jul 19 '21 08:07 bk138

It's related partially only since it proposes changes to the RFB protocol for negotiating TLS. This PR is much more generic and not even TLS related, TLS is just a use case.

tobydox avatar Jul 20 '21 12:07 tobydox

IIRC this is about generic tunneling, an example of how to make use of this would be super helpful.

bk138 avatar Apr 28 '22 14:04 bk138

I need a connect hook to negotiate with a proxy server before handing the connection to libvncclient. I rolled my own before seeing this one. The ConnectToRFBServer hook proposed here would meet my need.

GregorWaltzR avatar Jun 19 '23 16:06 GregorWaltzR