COVISE Core
|
#include <covise_socket.h>
Public Member Functions | |
UDPSocket (char *address, int p) | |
~UDPSocket () | |
int | read (void *buf, unsigned nbyte) |
int | write (const void *buf, unsigned nbyte) |
Public Member Functions inherited from covise::Socket | |
Socket (const Host *h, int p, int retries=20, double timeout=0.0) | |
Socket (int p) | |
Socket (int *p) | |
Socket () | |
Socket (int, int sfd) | |
Socket (const Socket &) | |
Socket (int socket_id, sockaddr_in *sockaddr) | |
virtual | ~Socket () |
int | get_start_port () |
ServerConnection * | copy_and_accept () |
SimpleServerConnection * | copySimpleAndAccept () |
int | available (void) |
int | listen () |
virtual int | accept () |
int | acceptOnly () |
int | accept (int) |
int | acceptOnly (int) |
virtual int | Read (void *buf, unsigned nbyte) |
int | setNonBlocking (bool on) |
int | get_id () |
int | get_port () |
Host * | get_ip_alias (const Host *) |
Host * | get_host () |
const char * | get_hostname () |
void | print () |
bool | isConnected () |
Additional Inherited Members | |
Static Public Member Functions inherited from covise::Socket | |
static void | initialize () |
static void | uninitialize () |
static void | set_start_port (int stp) |
static int | getErrno () |
static const char * | coStrerror (int err) |
Protected Member Functions inherited from covise::Socket | |
int | setTCPOptions () |
Protected Attributes inherited from covise::Socket | |
struct sockaddr_in | s_addr_in |
Host * | host |
int | sock_id |
int | port |
bool | connected |
Static Protected Attributes inherited from covise::Socket | |
static int | stport = 31000 |
static char ** | ip_alias_list = NULL |
static Host ** | host_alias_list = NULL |
static bool | bInitialised = false |
UDPSocket::UDPSocket | ( | char * | address, |
int | p | ||
) |
UDPSocket::~UDPSocket | ( | ) |
|
virtual |
Reimplemented from covise::Socket.
|
virtual |
Reimplemented from covise::Socket.