[Overview][Resource strings][Constants][Types][Classes][Variables][Index] |
Connect to the server
Source position: simpleipc.pp line 149
public procedure TSimpleIPCClient.Connect; |
Connect connects to the server indicated in the ServerID and InstanceID properties. Connect is called automatically if the Active property is set to True.
After a successful call to Connect, messages can be sent to the server using SendMessage or SendStringMessage.
Calling Connect if the connection is already open has no effect.
If creating the connection fails, an EIPCError exception may be raised.
|
Unique server identification |
|
InstanceID |
||
|
Communication channel active |
|
|
Send a message to the server |
|
|
Send a string message to the server |
|
|
Disconnect from the server |