Search code examples
iphonemacossocketsvncchicken-scheme

Problem in porting Chicken of VNC Mac application into iphone application


I'm porting Chicken of VNC Mac application into iphone application

I am having source code of Chicken of VNC Mac application which take vnc of any LAN connected mac. I have to do same with iphone app. So while debugging mac source code I am not able to figure out how that mac app establish an authenticated VNC connection?

My Current Progress I have done some progress. Now i am able to connect any LAN connected MAC and can take VNC of it. But i think the way i am doing is wrong. Actually now i am calling unstoppable timer again & again for [conn startTalking] and making RFBConnection with server on every mseconds for uninterrupted connection. Is this is a right way ? But this arise a new problem i cannot scroll my vnc view because on every mseconds screen is refreshing with new RFBConnection. Can any one guide me ?

Its pretty strange that none of experts are sharing their views on this thread

enter image description here


Solution

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