将VNC Mac应用程序的Chicken移植到iPhone应用程序中的问题
我正在将VNC Mac 应用程序的Chicken 移植到iPhone 应用程序
我有VNC Mac 应用程序Chicken 的源代码,它可以使用任何LAN 连接的mac 的vnc。我必须对 iPhone 应用程序做同样的事情。因此,在调试 mac 源代码时,我无法弄清楚 mac 应用程序如何建立经过身份验证的 VNC 连接?
我目前的进度 我已经取得了一些进展。现在我可以连接任何 LAN 连接的 MAC,并且可以使用 VNC。但我认为我现在的做法是错误的。实际上现在我再次调用不可停止的计时器&再次进行 [conn startTalking] 并每毫秒与服务器建立 RFBConnection 以实现不间断连接。这是正确的方法吗?但这出现了一个新问题,我无法滚动 vnc 视图,因为每毫秒屏幕都会用新的 RFBConnection 刷新。有人可以指导我吗?
奇怪的是没有专家分享他们的观点 此主题
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅描述 RFB 协议的页面的 7.1 节(握手消息)和 7.2 节(安全类型)。
See section 7.1 (handshaking messages) and 7.2 (security types) of this page describing the RFB protocol.
这是一个坏主意。将现有的复杂应用程序移植到您不了解的平台会导致失败。首先构建一些简单的 iPhone 应用程序,这样您就可以很好地了解平台上的工作方式。
您是否首先列出了 Cocoa Touch 不支持的所有 Mac Cocoa 代码?然后为所有这些构建替代品?
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?