Getting answer from Jabber Server
问题 I want connect with my jabber server and read server answer: DnsEndPoint host = new DnsEndPoint("talk.google.com", 5222); Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); SocketAsyncEventArgs args = new SocketAsyncEventArgs(); public void start() { string message = "<?xml version=1.0?><stream:streamto='gmail.com'xmlns='jabber:client'xmlns:stream='http://etherx.jabber.org/streams'version='1.0'>"; var buffer = Encoding.UTF8.GetBytes(message); args