An iostream class that handle TCP sockets.
More...
#include <skstream.h>
|
|
| tcp_socket_stream (SOCKET_TYPE socket) |
| |
|
| tcp_socket_stream (const std::string &address, int service, bool nonblock=false) |
| |
|
| tcp_socket_stream (const std::string &address, int service, unsigned int milliseconds) |
| |
|
int | open (const std::string &address, int service, bool nonblock=false) |
| |
|
int | open (const std::string &address, int service, unsigned int milliseconds) |
| |
|
int | open (struct addrinfo *, bool nonblock=false) |
| |
|
int | open_next () |
| |
|
const std::string | getRemoteHost (bool lookup=false) const |
| |
|
const std::string | getRemoteService (bool lookup=false) const |
| |
|
bool | isReady (unsigned int milliseconds=0) |
| |
|
virtual void | close () |
| |
|
virtual SOCKET_TYPE | getSocket () const |
| |
|
bool | connect_pending () const |
| |
|
| basic_socket_stream (socketbuf &buffer, int proto=FreeSockets::proto_IP) |
| | Make a socket stream.
|
| |
|
bool | fail () |
| |
|
bool | operator! () |
| |
|
bool | timeout () const |
| |
|
void | shutdown (bool wr_only=false) |
| |
|
void | setSocket (SOCKET_TYPE sock) |
| |
|
void | setTimeout (unsigned sec, unsigned usec=0) |
| |
|
int | getProtocol () const |
| |
|
int | getLastError () const |
| |
|
void | copyLastError (const basic_socket &other) |
| |
|
bool | is_open () const |
| |
|
|
struct addrinfo * | _connecting_address |
| |
|
struct addrinfo * | _connecting_addrlist |
| |
|
|
static bool | startup () |
| |
|
| stream_socket_stream (SOCKET_TYPE socket) |
| |
|
void | setLastError () const |
| |
|
SOCKET_TYPE | _connecting_socket |
| |
|
socketbuf & | _sockbuf |
| |
|
int | m_protocol |
| |
|
int | LastError |
| |
An iostream class that handle TCP sockets.
The documentation for this class was generated from the following files: