C
caoliu
Unregistered / Unconfirmed
GUEST, unregistred user!
一个server端,一个client端
我在client端的TForm1.ClientSocket1Connect事件中写已下代码:
if Clientsocket1.Socket.Connected=true then
begin
messagedlg('Link is connect!',mtConfirmation,[mbok],0);
BitBtn2.Enabled:=true ;
end
else
messagedlg('Link is disconnect!',mtConfirmation,[mbok],0);
clientsocket1.close;
验证是否连结上,弹出的对话框是'link is connect',server端的listbox1中也显示了client端的IP;
但是点弹出的对话框是'link is connect'的按纽后,弹出
'Asynchronous socket error 10053'信息,怎么回是?
我在client端的TForm1.ClientSocket1Connect事件中写已下代码:
if Clientsocket1.Socket.Connected=true then
begin
messagedlg('Link is connect!',mtConfirmation,[mbok],0);
BitBtn2.Enabled:=true ;
end
else
messagedlg('Link is disconnect!',mtConfirmation,[mbok],0);
clientsocket1.close;
验证是否连结上,弹出的对话框是'link is connect',server端的listbox1中也显示了client端的IP;
但是点弹出的对话框是'link is connect'的按纽后,弹出
'Asynchronous socket error 10053'信息,怎么回是?