|
On Mon, October 24, 2005 4:04 pm, Scott Klement said: > a) Sometimes they forget to add a CR/LF. This causes the whole process > to stop and wait for the CRLF. > b) the send() and recv() APIs (or, the read() and write() APIs, which > work exactly the same) do not send fixed-length data on a stream socket. My code uses shutdown() to indicate that the sending is done. We don't rely on fixed length or even data terminators to determine when the data is finished. david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.