ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HCS.FrameSize (Variable)
In french: HCS.TailleTrame
HFSQL Client/ServerAvailable only with this kind of connection
The HCS.FrameSize variable is used to resize the outgoing data frame. In some cases, resizing the frames can be used to adapt the stream of outgoing and incoming data to the performance of the hardware used.
For example, if the connection between the client computers and the HFSQL Client/Server engine goes through setup networks (network card, switch, router, vpn, ...) with non-standard setting, frames are lost if they exceed a given size. In this case, you have the ability to use this variable.
In most cases, if the hardware is recent and properly configured, there is no need to resize the frames.
Example
HCS.FrameSize = hInternetFrame
Syntax
HCS.FrameSize = <Frame Value>
<Frame Value>: Integer constant or integer
Value of the frame (in bytes). Corresponds to a value or to one of the following preset constants:
hActiveSyncFrameThe size of the frame is optimized to be used with Mobile devices.
hDefaultFrameThe standard size will be used by default.
hGPRSFrameThe frame size is optimized for a use via GPRS.
hInternetFrameThe frame size is optimized for a use via Internet.
hIntranetFrameThe frame size is optimized for a use via Intranet.
hWifiFrameThe size of the frame is optimized for a use via Wi-Fi.
Minimum version required
  • Version 11
This page is also available for…
Comments
Example
GLOBAL

gsUser, gsSenha, gsToken is string = ""

HCS.Timeout = INTERNET

HCS.FrameSize = hInternetFrame

HModifyStructure("*",hmsBackgroundTask)

HCreationIfNotFound("*")

IF HOpenConnection(MyHfsql_Local) = True THEN

HChangeConnection("*",MyHfsql_Local)

END

IF HOpenConnection(MyHfsql_Server) = True THEN

HChangeConnection("*",MyHfsql_Server)

END
Boller
06 Apr. 2021

Last update: 05/26/2022

Send a report | Local help