Provided by: libbobcat-dev_2.20.01-1_amd64
FBB::LocalSocketBase - Base class for Unix Domain socket-constructing classes
#include <bobcat/localsocketbase> Linking option: -lbobcat
This class is a base class for the FBB::LocalServerSocket and FBB::LocalClientSocket classes. Since it is designed as a base class, its constructor is protected. All its remaining members are protected as well.
FBB All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.
o LocalSocketBase(): The default constructor merely constructs a FBB::LocalSocketBase object. Before the object can be used, its open() member must be called first. o LocalSocketBase(string const &name): This constructor creates a LocalSocketBase using the file specified in name as the Unix domain socket interface. If the socket could not be constructed, an FBB::Errno exception is thrown. The copy constructor is not available.
PROTECTED MEMBER FUNCTIONS
o open(string const &name): This member initiaizes a LocalSocketBase object following its construction using the default constructor. The file specified in name is used as the Unix domain socket interface. If the socket could not be constructed, an FBB::Errno exception is thrown. o size_t size() const: Accessor returning the size of the object’s sockaddr_un (address) o int socket() const: This accessor returns the FBB::LocalSocketBase’s socket value. o sockaddr const *sockaddrPtr() const: Accessor returning the pointer to the object’s sockaddr.
See the examples presented with the localclientsocket(3bobcat) and localserversocket(3bobcat) classes.
bobcat/localsocketbase - defines the class interface
bobcat(7), localclientsocket(3bobcat), localserversocket(3bobcat), socketbase(3bobcat)
o bobcat_2.20.01-x.dsc: detached signature; o bobcat_2.20.01-x.tar.gz: source archive; o bobcat_2.20.01-x_i386.changes: change log; o libbobcat1_2.20.01-x_*.deb: debian package holding the libraries; o libbobcat1-dev_2.20.01-x_*.deb: debian package holding the libraries, headers and manual pages; o http://sourceforge.net/projects/bobcat: public archive location;
Bobcat is an acronym of `Brokken’s Own Base Classes And Templates’.
This is free software, distributed under the terms of the GNU General Public License (GPL).
Frank B. Brokken (email@example.com).