634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
|
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
|
-
-
-
+
+
+
+
+
+
+
|
if (_language != nil)
langString = [OFString stringWithFormat: @"xml:lang='%@' ",
_language];
[_socket writeFormat: @"<?xml version='1.0'?>\n"
@"<stream:stream to='%@' "
@"xmlns='" XMPPClientNS @"' "
@"xmlns:stream='" XMPPStreamNS @"' %@"
@"version='1.0'>", _domain, langString];
@"xmlns='%@' "
@"xmlns:stream='%@' %@"
@"version='1.0'>",
_domain,
XMPPClientNS,
XMPPStreamNS,
langString];
_streamOpen = true;
}
- (void)close
{
if (_streamOpen)
|