socketconnection?(100分)

  • 主题发起人 e_jian
  • 开始时间
E

e_jian

Unregistered / Unconfirmed
GUEST, unregistred user!
三层应用,服务端注册为service,用TSocketConnection连接,可随之而来的是,运行客户端1分钟(或不到)我的COMSERVER1R1(service)提示要关闭(提示如下:),选"否"之后能照常运行,但忽略它(不选"是"也不选 "否")的话,过大约4-5分钟提示如2,头痛!
提示1:There are still active COM objects in this application.One or more clients may have references to there objects,So manually closing this application may closing this application may cause those client application to fail?
提示2:Exception EsocketError in module test.exe at 000AF837 windows socket error:由于目标机器积极拒绝,无法连接,(10061),on API 'connect'

真搞不懂它说什么,请问这是什么原因造成的呢?
 
这个问题应该你们有遇到过的,说说吧,如果分不够好商量[:D]
 
第2个问题是因为服务端没有运行scktsrvr.exe这个程序,用SocketConnection连接,这个
程序必须运行,可以用搜索在Delphi安装目录下找到它。
 
是在已经运行的情况下出现的,要不然我的客户端根本运行不了
 
應該socket的相關設置不對,以前遇到過這個問題
 
顶部