【发布时间】:2010-12-19 02:47:58
【问题描述】:
我正在开发一个聊天应用程序。
但现在只能用 google 聊天,因为我只知道 google 的端口号。
xmppClient = [[XMPPClient alloc] init];
[xmppClient addDelegate:self];
// Replace me with the proper domain and port.
// The example below is setup for a typical google talk account.
[xmppClient setDomain:@"talk.google.com"];
[xmppClient setPort:5222];
可以看到,google已经设置了5222作为端口号。
我想为 yahoo、windows messenger 和其他流行网站设置端口号,我怎样才能得到所有这些?
(是这样的吗?“XMPP 专用于 Google 的”??)
【问题讨论】:
-
这属于 superuser.com