COM服务程序,怎么关闭呢?在所有客户端全退出连接后,怎么判断没有客户连接了?

解决方案 »

  1.   

    record the client connetion, decrease the counts when client disconnecting
      

  2.   

    i do not know what way you use with socket?
     if you use Events, it send you a FD_CLOSE message.
      

  3.   

    我前几天也想作一个服务程序还在VCKBASE.COM上下了一个例子,你在作哪方面工作?
      

  4.   

    set a=server.createobject("")set a=nothing