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
See section 7.1 (handshaking messages) and 7.2 (security types) of this page describing the RFB protocol.
This is a bad idea. Porting an existing complex application to a platform you do not know is a recipe for failure. Build some simple iPhone apps first, so you get a good feeling for how things are done on the platform.
Did you start by making a list of all Mac Cocoa code in there that is not supported on Cocoa Touch? And then build replacements for all of them?
精彩评论