我正在开发聊天应用程序。如何获取iPhone聊天应用程序的端口号
但现在聊天是可能的只有谷歌,因为我知道只有谷歌的端口号。
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];
你可以看到,谷歌已经将5222设置为端口号。
同样的方式我想为雅虎设置端口号,windows messenger &其他热门网站,我怎样才能得到所有这些?
(是类似的东西 - “XMPP是特定于谷歌的人”?)
这属于superuser.com – 2009-11-22 02:03:04
它可以在任一.. – 2009-11-22 13:36:21