GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LOCALSOCKETBASE (3)

NAME

FBB::LocalSocketBase - Base class for Unix Domain socket-constructing classes

CONTENTS

SYNOPSIS

#include <bobcat/localsocketbase>
Linking option: -lbobcat

DESCRIPTION

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.

NAMESPACE

FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.

INHERITS FROM

-

PROTECTED CONSTRUCTOR

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::Exception 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::Exception exception is thrown.
o size_t size() const:
Accessor returning the size of the object\(cqs sockaddr_un (address)
o int socket() const:
This accessor returns the FBB::LocalSocketBase\(cqs socket value.
o sockaddr const *sockaddrPtr() const:
Accessor returning the pointer to the object\(cqs sockaddr.

EXAMPLE

See the examples presented with the localclientsocket(3bobcat) and localserversocket(3bobcat) classes.

FILES

bobcat/localsocketbase - defines the class interface

SEE ALSO

bobcat(7), localclientsocket(3bobcat), localserversocket(3bobcat), socketbase(3bobcat)

BUGS

None Reported.

DISTRIBUTION FILES

o bobcat_3.25.01-x.dsc: detached signature;
o bobcat_3.25.01-x.tar.gz: source archive;
o bobcat_3.25.01-x_i386.changes: change log;
o libbobcat1_3.25.01-x_*.deb: debian package holding the libraries;
o libbobcat1-dev_3.25.01-x_*.deb: debian package holding the libraries, headers and manual pages;
o http://sourceforge.net/projects/bobcat: public archive location;

BOBCAT

Bobcat is an acronym of ‘Brokken\(cqs Own Base Classes And Templates\(cq.

COPYRIGHT

This is free software, distributed under the terms of the GNU General Public License (GPL).

AUTHOR

Frank B. Brokken (f.b.brokken@rug.nl).

Search for    or go to Top of page |  Section 3 |  Main Index


libbobcat-dev_3&.25&.01-x&.tar&.gz FBB::LOCALSOCKETBASE (3bobcat) 2005-2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.