I am new to AsyncSocket and I am desperately trying to connect it to the Facebook chat server (chat.facebook.com) on port 5222 (xmpp) and it does it very well. it worked fine before facebook switched to secure sockets.
Now the server tells me that I am running tls, so I call [socket startTLS: nil] and it does nothing. any attempt to write to the socket subsequently results in nothing. The server will stop responding, I'm not sure what I'm doing wrong.
-(void)startTLS:(id)_void { NSLog(@"********* StartTLS");
can anyone with AsyncSocket experience try to connect to the server and tell me what I'm doing wrong?
thanks for the help
source share