Author |
Topic: GF API Reconnect (2 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
JLarmee745 Posts: 2 Joined: |
Hi, I'm in the process of converting programs from the old OEC One API to the GF API. One of the problems I've run into is reconnecting after a disconnect from the server. With the old OEC API, I could unplug a network cable and, when I plugged it back in, the OEC API would automatically reconnect to the server. With the new GF API, this doesn't happen. When I unplug a network cable and plug it back in, the API does not reconnect to the server. Any help with this issue would be appreciated.
Jay Larmee
|
||||
VPfau Moderator Posts: 164 Joined: |
Hello Jay,
With GFAPI it is application's responsibility to implement reconnect behavior. See reconnecter example in our documentation: (Useful Code Snippets\Reconnecter) https://gainfutures.com/GFAPI/html/da57e5d9-0be9-4b5c-a8c8-5e39e11b5c98.htm Vitaliy Pfau
|
||||