#include <covise_socket.h>
Socket::Socket |
( |
const Host * |
h, |
|
|
int |
p, |
|
|
int |
retries = 20 , |
|
|
double |
timeout = 0.0 |
|
) |
| |
Socket::Socket |
( |
int * |
p | ) |
|
covise::Socket::Socket |
( |
| ) |
|
|
inline |
Socket::Socket |
( |
int |
, |
|
|
int |
sfd |
|
) |
| |
Socket::Socket |
( |
const Socket & |
s | ) |
|
Socket::Socket |
( |
int |
socket_id, |
|
|
sockaddr_in * |
sockaddr |
|
) |
| |
int Socket::accept |
( |
int |
wait | ) |
|
int Socket::acceptOnly |
( |
| ) |
|
int Socket::acceptOnly |
( |
int |
wait | ) |
|
int Socket::available |
( |
void |
| ) |
|
const char * Socket::coStrerror |
( |
int |
err | ) |
|
|
static |
Host* covise::Socket::get_host |
( |
| ) |
|
|
inline |
const char * Socket::get_hostname |
( |
| ) |
|
int covise::Socket::get_id |
( |
| ) |
|
|
inline |
Host * Socket::get_ip_alias |
( |
const Host * |
test_host | ) |
|
int covise::Socket::get_port |
( |
| ) |
|
|
inline |
int covise::Socket::get_start_port |
( |
| ) |
|
|
inline |
static int covise::Socket::getErrno |
( |
| ) |
|
|
inlinestatic |
void Socket::initialize |
( |
| ) |
|
|
static |
bool Socket::isConnected |
( |
| ) |
|
int Socket::read |
( |
void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| |
|
virtual |
int Socket::Read |
( |
void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| |
|
virtual |
static void covise::Socket::set_start_port |
( |
int |
stp | ) |
|
|
inlinestatic |
int Socket::setNonBlocking |
( |
bool |
on | ) |
|
int Socket::setTCPOptions |
( |
| ) |
|
|
protected |
void Socket::uninitialize |
( |
| ) |
|
|
static |
int Socket::write |
( |
const void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| |
|
virtual |
bool Socket::bInitialised = false |
|
staticprotected |
bool covise::Socket::connected |
|
protected |
Host* covise::Socket::host |
|
protected |
char ** Socket::ip_alias_list = NULL |
|
staticprotected |
struct sockaddr_in covise::Socket::s_addr_in |
|
protected |
int covise::Socket::sock_id |
|
protected |
int Socket::stport = 31000 |
|
staticprotected |
The documentation for this class was generated from the following files: