I have a windows service, and in the startup parameters I have "-aAPPName -gerddb1 -xsapgw00". Upon the service starting up, it connects to the SAP Gateway like its suppose too. If Gateway is disconnected, either by SMGW or an network issue, the service never knows the gateway connection is gone. How can I monitor this and re-establish the connection? Thanks for any input.