#include <rtp.h>
Inheritance diagram for UDPIPv4Socket::
Public Methods | |
UDPIPv4Socket (const InetAddress &ia, tpport_t port) | |
Constructor. More... | |
~UDPIPv4Socket () | |
Destructor. More... | |
sockerror_t | Connect (const InetAddress &ia, tpport_t port) |
Connect to a foreign socket. More... | |
bool | isPendingPacket (microtimeout_t timeout) |
size_t | writePacket (const unsigned char *const buffer, size_t len) |
size_t | readPacket (unsigned char *buffer, size_t len) |
sockerror_t | setMulticast (bool enable) |
sockerror_t | joinGroup (const InetMcastAddress &ia) |
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 packets to send. More... | |
void | endSocket () |
End socket, terminating the socket connection. More... |
It should be "straightforward" defining wrappers like this for other underlying protocols, and then instantiating the template T_RTPSocket for them.
|
Constructor.
|
|
Destructor.
|
|
Connect to a foreign socket.
|
|
End socket, terminating the socket connection.
|
|
|
|
Join a multicast group.
|
|
Leave a multicast group.
|
|
|
|
Set the value of the TTL field in the packets to send.
|
|
|
|
|