请问:
我xmlhttp xml =new xmlhttp()
xml.open("get",url,fase,null,null)
xml.send("");我在客户端已经发送了该消息,我在另外一端该如何收到刚才发送的url 呢?
用什么函数?是不是当客户端send后,我这边会触发什么事件:请指教......
我xmlhttp xml =new xmlhttp()
xml.open("get",url,fase,null,null)
xml.send("");我在客户端已经发送了该消息,我在另外一端该如何收到刚才发送的url 呢?
用什么函数?是不是当客户端send后,我这边会触发什么事件:请指教......
你可以不断的接收,直到你收到自己想要的东西。 while ((read = s.ReadLine()) != null)//另一种判断方法:while (sr.Peek() != -1){
Console.WriteLine(read);
}