Kacheong Poon writes: > Ravi Kota wrote: > > The specific error is: > > > > setsockopt() failure: : Option not supported by protocol > > Errno=99, failed to set TCP_KEEPALIVE value > > > > Is this supported on Solaris 10/ OpenSolaris. If so, what is the > > correct usage of this call? > > > The option level should be SOL_SOCKET. And I think it is > better to use SO_KEEPALIVE, instead of TCP_KEEPALIVE (they > have the same value though). Refer to the setsockopt(3SOCKET) > man page.
A quick google search shows that more than a few people have tripped over this weird bit of (likley non-functional) legacy from XTI. Is there any reason it shouldn't just be hauled out of netinet/tcp.h? -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ networking-discuss mailing list [email protected]
