|
Folks: I'm working on a TCP/IP program that I need to timeout after a specified amount of time waiting on a read. I understand the best way to do this would probably to use select(), but that would require that I rework the program a lot more than I currently have time for. Is there any other way to specify a timeout on a read() operation? I thought I could use the SetSockOpt api with SO_RCVTIMEO, but the IBM docs indicate that this isn't supported. Thanks! david -- David Gibbs Sr. Software Engineer / R&D / MKS Inc., www.mks.com Lombard, IL, USA; tel: 630-495-2108; fax: 630-495-3591 Build Better Software
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.