PLBCS_SENDBLOCKSIZE Keyword


     PLBCS_SENDBLOCKSIZE={ value }

 

This keyword can be added to the [Environment] section of the PLBSERVE INI file and it takes affect when a child logs onto to the server.

 

This keyword {value} specifies the block size used when the server is sending a large amount of data to a client module.

 

The {value} can be specified as zero or a value between 10000 to 50000. Any non-zero {value} less than 10000 is set to the minimum of 10000. Any non-zero {value} greater than 50000 is set to the maximum of 50000.

 

If the {value} is zero, the runtime action is to send all of the data in a single or minimum number of TCP/IP operations.

 

This keyword can help situations where transferring all of the data in a single/minimum number of TCP/IP operations can result in an unexpected Windows communication error (10055). For example, a LISTVIEW LoadCsvFile method transferring 70MB of data from a server to a client is a scenario where a Windows socket error could occur.

Example:

 

     PLBCS_SENDBLOCKSIZE=20000

 

 

See Also: PLBSERVE Keywords, PLBSERVE Command Syntax



PL/B Application Server PLBCS_RETRYn PLBCS_SERVICE_DELAY