When clcomm is in connect mode, attempts to reconnect to the endpoint application. When clcomm is in single-instance listen mode, listens again for the endpoint application after a connection has been lost.
restart();
Integer.
Returns any positive value for success, which indicates that restart() launched the clcomm attempt to reconnect to or listen for the endpoint. However, success does not guarantee a successful connection.
Returns 0 for failure, which indicates that restart() failed to launch the attempt to connect to or listen for the endpoint.
In a function |
In a control flow |
---|---|
where mycomm is the name of the communications object. |
1. Click Object. 2. Select the communications object from the drop-down list. 3. Select restart from the Method drop-down list. |
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |