各位:
  我使用TCPClient连接服务器5004端口,使用代码如下:
    if TcpClient1.Connect then
       connection:=1
    else
       connection:=0
    可是,当服务器故障无反应时,TCPClient要向其一直连接大约20S,会一直等待下去和死机没有两样,所以需要设置等待时间超时的属性,请问各位如何设置 ?
 谢谢!!!