I'm currently evaluating Paul Motyer's new transport layer on our project to see if it can imrove our server's performance.
So I replaced the classical LegacyTranport layer by a TSocket_Transport. No other tranport layer is active.
It worked good (servers discovery,connections, requests, etc.) except for one point:
I have an extender in my server whose "notify" function contains this piece of code:
////////////////////////////////////////
aTransport:=TffBaseTransport.CurrentTransport; // aTransport is a TffBaseTransport
if Assigned(aTransport) then
for inCntConnection:=0 to pred(aTransport.ConnectionCount)do
aTransport.Post(0,aTransport.ConnectionIDs[inCntConnection],loMessageType,
@Request,sizeOf(TffnmMessagingText),1000,ffrmNoReplyExpected);
/////////////////////////////////////
It causes problem because aTransport.ConnectionIDs[inCntConnection] = 0, which is not a valid connection ID.
Am I doing something wrong?
Is there a real problem?
Thank you.
ST.
> I have an extender in my server whose "notify" function contains
this piece of code:
> It causes problem because aTransport.ConnectionIDs[inCntConnection]
= 0, which is not a valid connection ID.
Thanks for the report. I don't use extenders - instead I sub-class
TffServerEngine.
It's a bug. The ConnectionIDs property is incorrectly calculated - I
won't go into the embarassing detail
I've fixed it here - and will upload a new version in the next day or
so. The new version will also correct some client side multi-threading
issues in the SharedMem Transport
--
,-._|\ Paul Motyer [TPX]
/ Oz \ SoftStuff P/L
\_,--._/ [paul.motyer at tpx.turbopower dot com]
v [ http://members.optushome.com.au/paulmotyer ]
> For the moment, the new transport layer seems good
<G>
> but I still need to do some
> quantitave tests on our project which is under developpement.
OK
> Anyway, do you have an idea about the date
> when the product is available ?
Well, there are complications. There are at least 4 Transports - and
other goodies as well. And they are targeted to FF3 - which is not yet
released. FF3 is a thing of beauty!
They may be released independently - or TPS might acquire them. These
things are still undecided
In the interim, I'm about to post a new version. If the D4 compiler
will stop complaining I could post sooner!
--
Eivind Bakkestuen [TPX]
Please, no private email unless requested.
This newsgroup is searchable at http://www.tamaracka.com
Visit TurboPower's new Foundry at http://community.turbopower.com
"Paul Motyer [TPX]" <nos...@no.spam.com> wrote in message
news:IMCQg5xs...@tpsmail01.turbopower.net...
Thanks for the answer.
For the moment, the new transport layer seems good, but I still need to do some
quantitave tests on our project which is under developpement.
Anyway, do you have an idea about the date when the product is available ?
At what conditions (price, code, licence) ?
We could be interested by it.
ST.
"Paul Motyer [TPX]" <nos...@no.spam.com> a écrit dans le message news: iXHKG6cr...@tpsmail01.turbopower.net...