ScClient and ScChannel threads

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
aither
Posts: 8
Joined: Mon 01 Feb 2010 10:59

ScClient and ScChannel threads

Post by aither » Fri 05 Mar 2010 14:34

Hello.
Unfortunately its not very clear from the documentation and sources
in what order are threads started on server side after channel connection is established. We have some problems with big multithreading application.

Is channel thread already started when BeforeChannelConnect event is being executed? In other words, is it possible that OnDataFromClient event is raise when BeforeChannelConnect event handling procedure has not finished its job?

One more question - in Server.AfterClientConnect event there is sometimes ClientInfo.User property empty. Is it possible that the following events: AfterClientConnect, BeforeChannelConnect, OnDataFromClient, AfterChannel disconnect events are raised simultaneosly in parallel threads?

Generally it would be nice to have some documentation which describes in which order are threads started and event sequence.

Thank you.

aither
Posts: 8
Joined: Mon 01 Feb 2010 10:59

No more actual

Post by aither » Fri 12 Mar 2010 21:17

We figured out thread issues ourselves... No more actual

Post Reply