Problem porting chicken VNC Mac app to iphone app

I transfer Chicken from VNC Mac app to iphone app

I have the source code of a Chicken of VNC Mac application that accepts vnc of any mac connected to a local network. I have to do the same with the iphone app. So, when debugging the Mac source code, I can’t understand how this Mac application establishes an authenticated VNC connection?

My current progress. I have made some progress. Now I can connect any LAN connected to the MAC and accept VNC. But I think what I'm doing wrong. In fact, now I call the unstoppable timer for [conn startTalking] again and again and do an RFBConnection with the server every every second for a continuous connection. Is it correct? But this creates a new problem, I can’t scroll through my vnc view because on every mseconds screen the new RFBConnection is updated. Can anyone visit me?

It is strange that not one of the experts shares his views on this stream.

enter image description here

+4
source share
2 answers

See sections 7.1 (handshaking messages) and 7.2 (security types) this page describing the RFB protocol .

+4
source

It is a bad idea. Putting an existing complex application on a platform that you don't know is a recipe for failure. First, create some simple iPhone apps, so you get a good idea of ​​how everything is done on the platform.

Did you start by creating a list of all Mac Cocoa code there that is not supported on Cocoa Touch? And then compile them for everyone?

+2
source

Source: https://habr.com/ru/post/1347687/


All Articles