SLI_SEND/SLI_RECEIVE Can Send/Receive A Maximum Of 65 KB Of Data[sna] ID: Q186054 CREATED: 21-MAY-1998 MODIFIED: 06-JAN-1999 WINDOWS:2.1,2.11,2.11SP1,2.11SP2,3.0,3.0SP1,3.0SP2,3.0SP3,4.0,4.0SP1 WINDOWS ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft SNA Server, versions 3.0, 3.0SP1, 3.0SP2, 3.0SP3, 4.0, 4.0SP1 --------------------------------------------------------------------- SYMPTOMS ======== The SLI_SEND and SLI_RECEIVE verbs can only send or receive a maximum of 65 kilobytes (KB) of data each time they are issued by a SLI application. The lua_data_length parameter is used to specify the amount of data to be sent in a SLI_SEND verb. The SLI_RECEIVE verb uses the lua_max_length parameter to specify the length of the buffer that is to be used to receive data. CAUSE ===== The 65-KB data length per SLI_SEND/SLI_RECEIVE is by design. The lua_data_length and lua_max_length parameters are defined as Unsigned Integers (unsigned int), which limits their maximum values to 2^16 bytes (approximately 65 KB). MORE INFORMATION ================ The SLI API has been extended to include the following new verbs: - SLI_SEND_EX - SLI_RECEIVE_EX These new verbs can be used instead of SLI_SEND and SLI_RECEIVE in those SLI applications that require sending or receiving more than 65 KB of data with each send or receive issued. These new SLI verbs include the following new parameters: SLI_SEND_EX: lua_data_length_ex SLI_RECEIVE_EX: lua_max_length_ex Each of these new parameters is defined as Unsigned Long Integers (unsigned long), which allows their maximum values to be 2^32 bytes (approximately 4 GB). These SLI API updates are available after applying the fix or service pack mentioned previously. Please refer to the SNA Server LUA Programmer's Guide for more details on both the RUI and SLI APIs included with SNA Server.