Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Poor performance related to packet size?
Message
De
24/02/2010 22:14:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01112876
Message ID:
01450899
Vues:
45
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform