search for: getsocketopts

Displaying 1 result from an estimated 1 matches for "getsocketopts".

1999 Sep 30
1
A little utility for checking socket settings
...is a struct instead of an int, but that's probably uninteresting to Samba folks. Run this to see what you'd have if you didn't set any tcp options. Written from Stevens TCP/IP Illustrated and man pages, so it's probably portable, but only tested on Solaris 7. --dave /* * getsocketopts -- get the defaults * * This (on a Solaris 7 system) should say: * % su root -c ./getsockopts * Default SO_ACCEPTCON: accepting connections = 0 * Default SO_BROADCAST, broadcast allowed = 0 * Default SO_REUSEADDR, address recycling = 0 * Default SO_KEEPALIVE, send keepalive packets = 0 * De...