[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
Disconnect from the server
Source position: simpleipc.pp line 265
public procedure TSimpleIPCClient.Disconnect; |
Disconnect shuts down the connection with the server as previously set up with Connect. Disconnect is called automatically if the Active property is set to False.
After a successful call to Disconnect, messages can no longer be sent to the server. Attempting to do so will result in an exception.
Calling Disconnect if there is no connection has no effect.
If creating the connection fails, an EIPCError exception may be raised.
|
Communication channel active |
|
|
Connect to the server |