我用的是TTrayIcon控件,在客户端DataModule的OnCreate<br> SocketConnection1.Host := HostName;<br> SocketConnection1.ServerName := 'aaServer.aaSrv';<br> SocketConnection1.Connected := True; <br>在OnDestroy中<br> SocketConnection1.Connected := False;<br>这个控件我现在有,要不要试试<br>