D
daifan
Unregistered / Unconfirmed
GUEST, unregistred user!
我在写一个ASP组件,组件中会使用零时生成TClientSocket连接另一个服务器,发送消息并等待
返回,就将TClientSocket销毁.
我的部分代码如下:
PMSocket := TClientSocket.Create(nil);
PMSocket.Host := '127.0.0.1';
PMSocket.Port := 7501;
//PMSocket.OnConnect := ClientSocketConnect;
//PMSocket.OnDisconnect := ClientSocketDisconnect;
//PMSocket.OnRead := ClientSocketRead;
//PMSocket.OnError := ClientSocketError;
blnConnected := FALSE;
blnReceived := FALSE;
strRecv := '';
PMSocket.Open;
问题是,我OPEN之后,服务器端看不到有客户连接上来,怎么解决?谢谢大家帮忙....
送100分
返回,就将TClientSocket销毁.
我的部分代码如下:
PMSocket := TClientSocket.Create(nil);
PMSocket.Host := '127.0.0.1';
PMSocket.Port := 7501;
//PMSocket.OnConnect := ClientSocketConnect;
//PMSocket.OnDisconnect := ClientSocketDisconnect;
//PMSocket.OnRead := ClientSocketRead;
//PMSocket.OnError := ClientSocketError;
blnConnected := FALSE;
blnReceived := FALSE;
strRecv := '';
PMSocket.Open;
问题是,我OPEN之后,服务器端看不到有客户连接上来,怎么解决?谢谢大家帮忙....
送100分