聊天iOS应用如何通信? [英] How do chat iOS applications communicate?

查看:21
本文介绍了聊天iOS应用如何通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Whatsapp 和 Skype 等应用程序中的文本聊天如何进行通信?具体来说,如何实时接收消息?

How do text chatting in applications like Whatsapp and Skype communicate? Specifically, how are messages received real time?

提前致谢!

推荐答案

这与 iOS 中所谓的 Socket 编程有关.你可以参考苹果开发者文档或者 此链接 可以帮助您解决此问题.

This is related with what is called Socket programming in iOS. you may refer to apple developer documentation for that or this link can help you regarding this.

以下链接实际上会非常有帮助:

Following links infact would be very helpful:

http://blog.scriptico.com/08/iphone-chat-native-rtmp-library-for-ios-in-action/

http://mobile.tutsplus.com/series/building-a-jabber-client-for-ios/

使用 XMPP 的 Whatsapp 也基于套接字编程.

Whatsapp which uses XMPP also based upon socket programming.

谢谢

这篇关于聊天iOS应用如何通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆