|
> And we (at least Tim & I) would like to know how to get SO_KEEPALIVE to > work. As I understand SO_KEEPALIVE, it's implementation is optional, not required. I've never used it, although the IBM manual does indicate that it will work for sockets of family AF_INET and type SOCK_STREAM. However, my winsock book does not indicate clearly whether the microsoft TCP stack supports keepalive. It does however, say, 'If you feel that your application needs some type of keep-alive mechanism, the best alternative is to implement it yourself in the application. Of course, this is only possible if you have access to the source fode for both the server and the client applications.' I believe the implementation mechanism is discussed in RFC 1122, section 4.2.3.6. http://rfc.fh-koeln.de/rfc/html/rfc1122.html#101 I take it you've tried to SetSocketOpt it, and it did nothing? Regards, Rich +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.