Author polymorphm
Recipients berker.peksag, demian.brecht, flox, loewis, mcjeff, polymorphm
Date 2014-12-16.08:33:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418718781.19.0.978417459965.issue14134@psf.upfronthosting.co.za>
In-reply-to
Content
I just will write next code-fragment:

    import socket
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.IPPROTO_TCP)
    s.connect(('python.org', 80))
    print(
            'is my operation system using (by default) "tcpkeepalive"-algorithm for testing broken-connection? answer:',
            s.getsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE)
            )
    # answer is 0 (false) -- for all GNU/Linux


my previous code-example has 100-iteration -- only for we could catch the right-moment when testing (and for nothing else).
History
Date User Action Args
2014-12-16 08:33:01polymorphmsetrecipients: + polymorphm, loewis, flox, mcjeff, berker.peksag, demian.brecht
2014-12-16 08:33:01polymorphmsetmessageid: <1418718781.19.0.978417459965.issue14134@psf.upfronthosting.co.za>
2014-12-16 08:33:01polymorphmlinkissue14134 messages
2014-12-16 08:33:00polymorphmcreate