Knowledge Base Ask Cody Resources



 
When should I use the setStreamed(bool) function?
This function should be used for most TCP connections especially when large amounts of data need to be transfered.

If setStreamed(TRUE) is called, the RPC library will NOT read all data from the socket at one time, it will regard the data as an input stream and read data whenever it needs to. This behavior will improve RPC performance greatly, especially for large RPC data over a TCP connection.






04/18/2024   Legal notices | PRIVACY Policy |