#include <covise_socket.h>
|
| UDPSocket (int p, const char *address=nullptr) |
|
| ~UDPSocket () |
|
int | read (void *buf, unsigned nbyte) override |
|
int | Read (void *buf, unsigned nbyte, char *ip=nullptr) override |
|
int | write (const void *buf, unsigned nbyte) override |
|
int | writeTo (const void *buf, unsigned nbyte, const char *addr) |
|
| 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 () |
|
int | listen () |
|
virtual int | accept () |
|
int | acceptOnly () |
|
int | accept (float timeout) |
|
int | acceptOnly (float timeout) |
|
virtual int | read (void *buf, unsigned nbyte) |
|
virtual int | Read (void *buf, unsigned nbyte, char *ip=nullptr) |
|
int | setNonBlocking (bool on) |
|
virtual int | write (const void *buf, unsigned nbyte) |
|
int | get_id () const |
|
int | get_port () const |
|
Host * | get_ip_alias (const Host *) |
|
Host * | get_host () |
|
const char * | get_hostname () const |
|
void | print () |
|
bool | isConnected () const |
|
◆ UDPSocket()
UDPSocket::UDPSocket |
( |
int |
p, |
|
|
const char * |
address = nullptr |
|
) |
| |
◆ ~UDPSocket()
UDPSocket::~UDPSocket |
( |
| ) |
|
◆ read()
int UDPSocket::read |
( |
void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| |
|
overridevirtual |
◆ Read()
int UDPSocket::Read |
( |
void * |
buf, |
|
|
unsigned |
nbyte, |
|
|
char * |
ip = nullptr |
|
) |
| |
|
overridevirtual |
◆ write()
int UDPSocket::write |
( |
const void * |
buf, |
|
|
unsigned |
nbyte |
|
) |
| |
|
overridevirtual |
◆ writeTo()
int UDPSocket::writeTo |
( |
const void * |
buf, |
|
|
unsigned |
nbyte, |
|
|
const char * |
addr |
|
) |
| |
The documentation for this class was generated from the following files: