Displaying 1 result from an estimated 1 matches for "so_acceptcon".
Did you mean:
so_acceptconn
1999 Sep 30
1
A little utility for checking socket settings
...e 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
* Default SO_OOBINLINE, oob data folded inline = 0
* Default SO_SNDBUF, send buffer size = 8192
* getsocketopts: could not...