#include <socket.h>
Public Member Functions | |
void | close () |
void | listen (int n=1) |
Socket | accept (Address &address) throw (Error) |
bool | is_open () const |
int | fd () const |
Style | style () const |
operator int () const |
|
Accept a new connection.
|
|
Close the socket.
|
|
Return file descriptor.
|
|
Check if open.
|
|
Listen to socket (make it a server socket).
|
|
Return file descriptor.
|
|
Get style of socket.
|