• David Presotto's avatar
    net: add SetKeepAlivePeriod · 918922cf
    David Presotto authored
    Sets both the duration from the last data packet to the first
    keep alive packet and the duration between keep alive packets to be
    the passed duration.
    
    I've tested the function on both Darwin (10.8.4) and 4.2 Linux.
    I've compiled (make.bash) for all the OS's and tested (all.bash)
    on Darwin and Linux.
    
    R=golang-dev, dave, rsc, dvyukov, presotto+facebook, nick
    CC=golang-dev, veyron-team
    https://golang.org/cl/11130044
    918922cf
tcpsockopt_darwin.go 664 Bytes