#include <socket.h>
Inheritance diagram for SockInetBuf:

Public Types | |
Enumerations | |
| enum | domain { af_inet = AF_INET } |
Public Member Functions | |
| SocketBuf * | open (SocketBuf::type, int proto=0) throw () |
| SockInetAddr | localaddr () const throw () |
| int | localport () const throw () |
| const String & | localhost () const throw () |
| SockInetAddr | peeraddr () const throw () |
| int | peerport () const throw () |
| const String & | peerhost () 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 | |
| SockInetBuf & | operator= (const SocketBuf &si) throw () |
| Assignment operator. | |
| SockInetBuf & | operator= (const SockInetBuf &si) throw () |