Search found 3 matches

by smutjhwxf
Fri Feb 24, 2017 9:01 pm
Forum: Support - RCF
Topic: RCF server and client reconnect
Replies: 1
Views: 6016

Re: RCF server and client reconnect

setAutoReconnect false
client will get a exception
by smutjhwxf
Wed Feb 15, 2017 5:52 am
Forum: Support - RCF
Topic: server side session enum and count
Replies: 1
Views: 3699

Re: server side session enum and count

can you help me? thanks
by smutjhwxf
Mon Feb 06, 2017 2:33 am
Forum: Support - RCF
Topic: server side session enum and count
Replies: 1
Views: 3699

server side session enum and count

I want to limit : "only one username can login the server " so I wan't to count if a username already connected,I write this code in the server method function: int nUserOnlineCount = 0; std::vector<RCF::NetworkSessionWeakPtr> mSessionsTemp; mSessionsTemp.resize(0); session.getRcfServer().enumerate...