Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

SockInetBuf Class Reference
[Operating system support]

INET socket buffer. More...

#include <socket.h>

Inheritance diagram for SockInetBuf:

SocketBuf List of all members.

Public Types

Enumerations
enum  domain { af_inet = AF_INET }

Public Member Functions

SocketBufopen (SocketBuf::type, int proto=0) throw ()
SockInetAddr localaddr () const throw ()
int localport () const throw ()
const Stringlocalhost () const throw ()
SockInetAddr peeraddr () const throw ()
int peerport () const throw ()
const Stringpeerhost () const throw ()
Constructors and Destructor
 SockInetBuf (const SocketBuf &socket_buf) throw ()
 Detailed constructor.
 SockInetBuf (const SockInetBuf &socket_inet_buf) throw ()
 Detailed constructor.
 SockInetBuf (SocketBuf::type type, int proto=0) throw ()
 Detailed constructor.
 ~SockInetBuf () throw ()
 Destructor.
Binding
int bind_until_success (int portno) throw ()
virtual int bind (SockAddr &sa) throw ()
int bind () throw ()
int bind (unsigned long addr, int port_no=0) throw ()
int bind (const String &host_name, int port_no=0) throw ()
int bind (unsigned long addr, const String &service_name, const String &protocol_name="tcp") throw ()
int bind (const String &host_name, const String &service_name, const String &protocol_name="tcp") throw ()
Connecting
virtual int connect (SockAddr &sa) throw ()
int connect (unsigned long addr, int port_no=0) throw ()
int connect (const String &host_name, int port_no=0) throw ()
int connect (unsigned long addr, const String &service_name, const String &protocol_name="tcp") throw ()
int connect (const String &host_name, const String &service_name, const String &protocol_name="tcp") throw ()

Protected Member Functions

SockInetBufoperator= (const SocketBuf &si) throw ()
 Assignment operator.
SockInetBufoperator= (const SockInetBuf &si) throw ()

Detailed Description

INET socket buffer.