|
This works as it is returning the first two bytes of the input_string, but now when testing with variable length data the RdLine hangs until a minimum of 56 bytes are received.
What I'd like to be able to do define the input_string as say 8192 (8k) and have it be able to accept a variable length input string with fewer (but up to) the 8k limit. So far I haven't seen any lab results that are larger than 5k but I know that pathology reports can be quite large, and then there are the simple tests that are usually less than 1k.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.