/usr/share/doc/libbobcat3/man/localsocketbase.3.html is in libbobcat-dev 3.23.01-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | <html><head>
<title>FBB::LocalSocketBase</title>
<link rev="made" href="mailto:Frank B. Brokken: f.b.brokken@rug.nl">
</head>
<body text="#27408B" bgcolor="#FFFAF0">
<hr>
<h1>FBB::LocalSocketBase</h1>
<h2>libbobcat-dev_3.23.01-x.tar.gz</h2>
<h2>2005-2014</h2>
<html><head>
<link rev="made" href="mailto:Frank B. Brokken: f.b.brokken@rug.nl">
</head>
<body text="#27408B" bgcolor="#FFFAF0">
<hr>
<h1></h1>
<html><head>
<title>FBB::LocalSocketBase(3bobcat)</title>
<link rev="made" href="mailto:Frank B. Brokken: f.b.brokken@rug.nl">
</head>
<body text="#27408B" bgcolor="#FFFAF0">
<hr>
<h1>FBB::LocalSocketBase(3bobcat)</h1>
<h2>libbobcat-dev_3.23.01-x.tar.gz Base class for Unix Domain sockets</h2>
<h2>2005-2014</h2>
<p>
<h2>NAME</h2>FBB::LocalSocketBase - Base class for Unix Domain socket-constructing classes
<p>
<h2>SYNOPSIS</h2>
<strong>#include <bobcat/localsocketbase></strong><br>
Linking option: <em>-lbobcat</em>
<p>
<h2>DESCRIPTION</h2>
This class is a base class for the <strong>FBB::LocalServerSocket</strong> and
<strong>FBB::LocalClientSocket</strong> classes. Since it is designed as a base class,
its constructor is protected. All its remaining members are protected as well.
<p>
<h2>NAMESPACE</h2>
<strong>FBB</strong><br>
All constructors, members, operators and manipulators, mentioned in this
man-page, are defined in the namespace <strong>FBB</strong>.
<p>
<h2>INHERITS FROM</h2>
-
<p>
<h2>PROTECTED CONSTRUCTOR</h2>
<ul>
<li> <strong>LocalSocketBase()</strong>:<br>
The default constructor merely constructs a <em>FBB::LocalSocketBase</em>
object. Before the object can be used, its <em>open()</em> member must be called
first.
<li> <strong>LocalSocketBase(string const &name)</strong>:<br>
This constructor creates a <strong>LocalSocketBase</strong> using the file
specified in <em>name</em> as the Unix domain socket interface. If the socket
could not be constructed, an <strong>FBB::Exception</strong> exception is thrown.
</ul>
The copy constructor is not available.
<p>
<h2>PROTECTED MEMBER FUNCTIONS</h2>
<ul>
<li> <strong>open(string const &name)</strong>:<br>
This member initiaizes a <strong>LocalSocketBase</strong> object following its
construction using the default constructor. The file specified in <em>name</em> is
used as the Unix domain socket interface. If the socket could not be
constructed, an <strong>FBB::Exception</strong> exception is thrown.
<li> <strong>size_t size() const</strong>:<br>
Accessor returning the size of the object's <strong>sockaddr_un</strong> (address)
<li> <strong>int socket() const</strong>:<br>
This accessor returns the <strong>FBB::LocalSocketBase</strong>'s socket value.
<li> <strong>sockaddr const *sockaddrPtr() const</strong>:<br>
Accessor returning the pointer to the object's <strong>sockaddr</strong>.
</ul>
<p>
<h2>EXAMPLE</h2>
See the examples presented with the <strong>localclientsocket</strong>(3bobcat) and
<strong>localserversocket</strong>(3bobcat) classes.
<p>
<h2>FILES</h2>
<em>bobcat/localsocketbase</em> - defines the class interface
<p>
<h2>SEE ALSO</h2>
<strong>bobcat</strong>(7), <strong>localclientsocket</strong>(3bobcat),
<strong>localserversocket</strong>(3bobcat), <strong>socketbase</strong>(3bobcat)
<p>
<h2>BUGS</h2>
None Reported.
<p>
<h2>DISTRIBUTION FILES</h2>
<ul>
<li> <em>bobcat_3.23.01-x.dsc</em>: detached signature;
<li> <em>bobcat_3.23.01-x.tar.gz</em>: source archive;
<li> <em>bobcat_3.23.01-x_i386.changes</em>: change log;
<li> <em>libbobcat1_3.23.01-x_*.deb</em>: debian package holding the
libraries;
<li> <em>libbobcat1-dev_3.23.01-x_*.deb</em>: debian package holding the
libraries, headers and manual pages;
<li> <em>http://sourceforge.net/projects/bobcat</em>: public archive location;
</ul>
<p>
<h2>BOBCAT</h2>
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.
<p>
<h2>COPYRIGHT</h2>
This is free software, distributed under the terms of the
GNU General Public License (GPL).
<p>
<h2>AUTHOR</h2>
Frank B. Brokken (<strong>f.b.brokken@rug.nl</strong>).
<p>
|