---
name: "channel.h"
section: "3"
platform: "linux"
package: "libccrtp-doc"
version: "2.0.9-4.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/channel.h"
---

# channel.h(3)

Definition of socket classes for different underlying transport and/or network protocols that can be used to instantiate the TRTPSessionBase template.

## NAME

channel.h - Definition of socket classes for different underlying transport and/or network protocols that can be used to instantiate the **TRTPSessionBase** template.

## SYNOPSIS

`#include <ccrtp/base.h>`\
 `#include <commoncpp/socket.h>`\
 `#include <sys/ioctl.h>`\

### Classes

class **RTPBaseUDPIPv4Socket**\
 A UDP/IPv4 socket class targeted at RTP stacks.  class **DualRTPChannel\< BaseSocket \>**\

### Typedefs

typedef **DualRTPChannel**\< **RTPBaseUDPIPv4Socket** \> **DualRTPUDPIPv4Channel**\
 typedef **RTPBaseUDPIPv4Socket** **SingleRTPChannel**\
 May be used in applications where using the same socket for both sending and receiving is not a limitation.  typedef **SingleRTPChannel** **SymmetricRTPChannel**\
 Actually, RTP with a single channel can be called 'Symmetric RTP'.

### Functions

size\_t **ccioctl** (int so, int request, size\_t &len)\

## Detailed Description

Definition of socket classes for different underlying transport and/or network protocols that can be used to instantiate the **TRTPSessionBase** template.

## Function Documentation

### size\_t ccioctl (int so, int request, size\_t & len)` [inline]`

## Author

Generated automatically by Doxygen for ccRTP from the source code.
