#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 InetHostAddress &ia, tpport_t port) |
| Connect to a foreign socket. More... | |
| sockerror_t | Connect (const InetMcastAddress &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.
Generally, the socket used to transmit does not have to be the same as the one used to receive packets.
|
||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Connect to a foreign socket.
|
|
||||||||||||
|
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.
|
|
|
|
|
||||||||||||
|
|
1.2.10 written by Dimitri van Heesch,
© 1997-2001