TCPClient tcpc=new TCPClient();
 if(0==tcpc.Connect("wwp.icq.com",80))
 {
  Stream sm = tcpc.GetStream();
  sm.Write(arrMsg,0,sendmsg.Length);
  StreamReader sr=new StreamReader(tcpc.GetStream(),Encoding.Default);
  string strRev=sr.ReadLine();
  if(strRev.IndexOf("OK")!=-1)
  {
   ICQ_Show.Text="ICQ消息发送成功";
  }
  else
  {
   ICQ_Show.Text="ICQ消息发送不成功";
  }
 }
 else
 {
  ICQ_Show.Text="ICQ消息发送不成功,无法联结ICQ服务器";
 }
 //关闭TCP联结
 tcpc.Close();
}