[interfacekit] BSession(NG)
- From: Adi Oanca <e2joseph@xxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Wed, 05 May 2004 00:57:53 +0300
Hello!
A couple weeks ago we had a talk about BSession and its flaws. I
said then that I had an idea to make it better. Now... I think I did,
what remains to be seen is if you think so too. Also, I did not managed
to resolve the de-synchronization part, and here I need help.
So we need it, but can we get rid of its flaws?
a) de-synchronization
I need help here... I cannot think of a way to do that with a single
port. Do you have any ideas? I was thinking numbering each "frame" to be
sent and keeping track on the receive end. If the next "frame" number is
not the one expected, quit the thread which is running the receive loop.
Even I don't like this, but I cannot think of something else...
b) having to drop messages that are bundled with one which we don't
recognize the 'what'
BSession was doing that already.
A message can be thrown by prematurely calling ::EndReadMessage(); Of
course it must first be started. :-)
c) missing error return codes
That is nicely solved now. Have I missed something?
I attached the source code. Look at it and please tell me what you think.
Adi.
Other related posts:
- » [interfacekit] BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
- » [interfacekit] Re: BSession(NG)
So we need it, but can we get rid of its flaws?
a) de-synchronization
b) having to drop messages that are bundled with one which we don't recognize the 'what'
c) missing error return codes