× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Agreed, proper application design should mitigate the need for
SO_KEEPALIVE - if you have control over how both ends work. A draw back
to SO_KEEPALIVE is that it's often used to plug holes in badly
constructed applications. One expectancy is that the SO_KEEPALIVE timer
is set to something short - most implementations use two minutes though
the RFC stipulates two hours. An application that loops expecting a
KEEPALIVE error may function ok at two minutes but it would be a dog at
two hours.  
 BTW SO_KEEPALIVE is supported in WINSOCK.

> -----Original Message-----
> From: Rich Duzenbury [SMTP:rduz@aros.net]
> Sent: Sunday, June 13, 1999 7:48 PM
> To:   MIDRANGE-L@midrange.com
> Subject:      RE: TCP/IP Sockets
> 
> > 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
> +---
+---
| 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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.