L
Lotus123
Unregistered / Unconfirmed
GUEST, unregistred user!
ClientSocket1:=TClientSocket.Creat(Nil);
Try
...
ClientSocket1.Host := ...;
ClientSocket1.Port := ...;
ClientSocket1.Open; //若服务端未启动Socket服务,将会引发异常,从而
//触发ClientSocket1.SocketError事件,如何让程序
//跳转至自定义的异常处理事件?
...
Finally
...
End;
Try
...
ClientSocket1.Host := ...;
ClientSocket1.Port := ...;
ClientSocket1.Open; //若服务端未启动Socket服务,将会引发异常,从而
//触发ClientSocket1.SocketError事件,如何让程序
//跳转至自定义的异常处理事件?
...
Finally
...
End;