API Support Forum
OEC API > API Support > Multiple client connections
Author Topic: Multiple client connections
(5 messages, Page 1 of 1)
Moderators: VPfau
SSokolov387
Posts: 9
Joined: Jan 18, 2012


Posted: Mar 23, 2015 @ 06:06 AM             Msg. 1 of 5
Hello,
Is is possible for single application to create multiple instances of OECClient and to connect them all to server under different user credentials?
The application is supposed to establish multiple simultaneous connections to OEC server, receive data through one of those connections and to execute transactions via all connections.
So the question is whether this kind of functionality (multiple OECClient from single app) is supported.

Sergey Sokolov
VPfau
Moderator
Posts: 164
Joined:


Posted: Mar 23, 2015 @ 08:56 AM             Msg. 2 of 5
Hello Sergey,

yes, it is supported. OECClient.Global will refer to the last created instance.

Vitaliy Pfau
DAronow1742
Posts: 10
Joined: Sep 14, 2015


Posted: Oct 08, 2015 @ 07:17 PM             Msg. 3 of 5
Are there restrictions on multiple connections from different instances of the application on different machines? Can I run my application in one mode from one PC and in a different mode from another PC using the same login?

David Aronow
WTeng
Posts: 8
Joined: Nov 28, 2014


Posted: Oct 15, 2015 @ 08:32 AM             Msg. 4 of 5
Possible for me to connect to the same server using the same username/password and same uuid but in two instances?

Whenever I tried to do so, the first instance that I started disconnects.
NShine
Posts: 36
Joined:


Posted: Oct 15, 2015 @ 11:17 AM             Msg. 5 of 5
Quote:
Possible for me to connect to the same server using the same username/password and same uuid but in two instances?

Sorry, only one connection is allowed per UUID.

http://www.openecry.com/api/api/html/P_OEC_API_OECClient_UUID.htm
Edited by NShine on Oct 15, 2015 at 11:18:04