openctp / webctp

将CTP接口转换成websocket+json协议对外通讯,适合web类应用。
http://www.openctp.cn
BSD 3-Clause "New" or "Revised" License
42 stars 12 forks source link

Repeated client #36

Closed Jedore closed 1 year ago

Jedore commented 1 year ago

Now one connection(websocket) has one client(md/td). If the same user login by multi clients, then server will create multi same clients which are repeated. Can webctp avoid the repeated resources ?

DennisXie commented 1 year ago

I‘ve considered multiple connections share one client, but i didn't have a very clearly thougth about this when i developing webctp. We‘ll add this feature in the future.