Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Poor performance related to packet size?
Message
From
24/02/2010 22:14:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01112876
Message ID:
01450899
Views:
44
>Hi Sergey -
>
>Right, so what I've done is set the packetSize on connection 0 before any "real" connections are made, thinking that would then be used for the connections made after the SQLSETPROP( ) was called. That doesn't seem to be the case.

This, and a few other SqlSetProp()s must be done in advance, before you establish a connection, simply because they are the parameters which are established between your app (as a client) and the server when the connection is made.

Saved connection is not a real connection; it's a saved definition which will be applied when that definition is used to make a real connection. The description of the connection stored in a dbc is not making this distinction, but you can guess that it's different - it stays in the dbc, unchanged, before, during and after the actual connection to a server.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform