Public Methods |
| | T_RTPSocket (const InetHostAddress &ia, tpport_t port=5004, int pri=0) |
| | T_RTPSocket (const InetMcastAddress &ia, tpport_t port=5004, int pri=0) |
| virtual | ~T_RTPSocket () |
| | Stack destructor. More...
|
| sockerror_t | Connect (const InetHostAddress &ia, tpport_t port=0) |
| | Connect to a foreign host and start the service thread. More...
|
| sockerror_t | Connect (const InetMcastAddress &ia, tpport_t port=0) |
| | Connect to a multicast group and start the service thread. More...
|
| sockerror_t | joinGroup (const InetMcastAddress &ia, tpport_t port=0) |
| | Join a multicast group. More...
|
| sockerror_t | leaveGroup (const InetMcastAddress &ia) |
| | Leave a multicast group. More...
|
| sockerror_t | setMcastTTL (uint8 ttl) |
| | Set the value of the TTL field in the sent packets. More...
|
Protected Methods |
| bool | isPendingData (microtimeout_t timeout) |
| size_t | readData (unsigned char *buffer, size_t len) |
| size_t | writeData (const unsigned char *const buffer, size_t len) |
| bool | isPendingControl (microtimeout_t timeout) |
| size_t | readControl (unsigned char *buffer, size_t len) |
| size_t | writeControl (const unsigned char *const buffer, size_t len) |
| void | endSocket () |
This stack uses the concept of packet send and receive queues to schedule and buffer outgoing packets and to arrange or reorder incoming packets as they arrive. A single service thread both schedules sending of outgoing packets and receipt of incoming packets.