#include <xvr2/Net/OldUDPServerSocket.h>

Definition at line 19 of file OldUDPServerSocket.h.
| Public Member Functions | |
| OldUDPServerSocket (int _port) | |
| OldUDPServerSocket (const IPv4Address &addr, int _port) | |
| OldUDPServerSocket (const String &addr, int _port) | |
| int | peek (void *buf, int size) | 
| virtual int | receive (void *buf, int size) | 
| template<class T> | |
| int | receive (T *buf) | 
| template<class T> | |
| int | peek (T *buf) | 
| const int | getSocketID () | 
| Returns the socket's file descriptor value. | |
| int | setSoTimeout (int) | 
| Defines the timeout before closing connection to the other end of communication. | |
| virtual const char * | getClassName () | 
| Returns the name of the current class. | |
| virtual std::string | toString () | 
| Static Public Member Functions | |
| static void | setRecvTimeout (int t) | 
| static int | getRecvTimeout () | 
| static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) | 
| Will print a debug message to the screen. | |
| static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) | 
| Protected Member Functions | |
| void | bind () | 
| int | setSockOption (int opname, void *optval, unsigned int siz) | 
| Is an interface to setsockopt. | |
| int | setTCPOption (int opname, void *optval, unsigned int siz) | 
| Protected Attributes | |
| int | flags | 
| int | tsock | 
| This file descriptor represents the socket itself as returned by socket(2) and accept(2). | |
| struct::sockaddr_in | ipv4addr | 
| int | port | 
| Defines the communications port used by the socket or the port which the socket server uses to listen requests. | |
| String | string_representation | 
| For debugging purposes only. | |
| std::string | __cls_name | 
| Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Object &s) | 
| xvr2::Net::OldUDPServerSocket::OldUDPServerSocket | ( | int | _port | ) | 
| xvr2::Net::OldUDPServerSocket::OldUDPServerSocket | ( | const IPv4Address & | addr, | |
| int | _port | |||
| ) | 
| xvr2::Net::OldUDPServerSocket::OldUDPServerSocket | ( | const String & | addr, | |
| int | _port | |||
| ) | 
| void xvr2::Net::OldUDPServerSocket::bind | ( | ) |  [protected] | 
| static void xvr2::Net::OldUDPServerSocket::setRecvTimeout | ( | int | t | ) |  [static] | 
| static int xvr2::Net::OldUDPServerSocket::getRecvTimeout | ( | ) |  [static] | 
| int xvr2::Net::OldUDPServerSocket::peek | ( | void * | buf, | |
| int | size | |||
| ) | 
Referenced by peek().
| virtual int xvr2::Net::OldUDPServerSocket::receive | ( | void * | buf, | |
| int | size | |||
| ) |  [virtual] | 
Referenced by receive().
| int xvr2::Net::OldUDPServerSocket::receive | ( | T * | buf | ) |  [inline] | 
Definition at line 33 of file OldUDPServerSocket.h.
References receive().

| int xvr2::Net::OldUDPServerSocket::peek | ( | T * | buf | ) |  [inline] | 
Definition at line 37 of file OldUDPServerSocket.h.
References peek().

| int xvr2::Net::OldSocket::setSockOption | ( | int | opname, | |
| void * | optval, | |||
| unsigned int | siz | |||
| ) |  [protected, inherited] | 
Is an interface to setsockopt.
| int xvr2::Net::OldSocket::setTCPOption | ( | int | opname, | |
| void * | optval, | |||
| unsigned int | siz | |||
| ) |  [protected, inherited] | 
| const int xvr2::Net::OldSocket::getSocketID | ( | ) |  [inherited] | 
Returns the socket's file descriptor value.
| int xvr2::Net::OldSocket::setSoTimeout | ( | int | ) |  [inherited] | 
Defines the timeout before closing connection to the other end of communication.
| virtual const char* xvr2::Object::getClassName | ( | ) |  [virtual, inherited] | 
Returns the name of the current class.
| static void xvr2::Object::debugmsg | ( | Object * | obj, | |
| const char * | msg, | |||
| int | linenumber = __LINE__, | |||
| const char * | srcfile = __FILE__ | |||
| ) |  [static, inherited] | 
Will print a debug message to the screen.
| static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
| const char * | msg, | |||
| int | linenumber = __LINE__, | |||
| const char * | srcfile = __FILE__ | |||
| ) |  [static, inherited] | 
| virtual std::string xvr2::Object::toString | ( | ) |  [virtual, inherited] | 
| std::ostream& operator<< | ( | std::ostream & | stream, | |
| const Object & | s | |||
| ) |  [friend, inherited] | 
| int xvr2::Net::OldUDPServerSocket::flags  [protected] | 
Definition at line 22 of file OldUDPServerSocket.h.
| int xvr2::Net::OldSocket::tsock  [protected, inherited] | 
This file descriptor represents the socket itself as returned by socket(2) and accept(2).
Definition at line 29 of file OldSocket.h.
| struct ::sockaddr_in xvr2::Net::OldSocket::ipv4addr  [protected, inherited] | 
Definition at line 30 of file OldSocket.h.
| int xvr2::Net::OldSocket::port  [protected, inherited] | 
Defines the communications port used by the socket or the port which the socket server uses to listen requests.
Definition at line 37 of file OldSocket.h.
Referenced by xvr2::Net::OldTCPSocket::getPort(), and xvr2::Net::OldTCPServerSocket::getPort().
| String xvr2::Net::OldSocket::string_representation  [protected, inherited] | 
| std::string xvr2::Object::__cls_name  [protected, inherited] | 
 1.5.5
 1.5.5