tcpserversrc

## tcpserversrc tcpserversrc — Receive data as a server over the network via TCP |

## Properties

gchar * | host | Read / Write
gint | port | Read / Write
GstTCPProtocol | protocol | Read / Write

## Types and Values

struct | GstTCPServerSrc

## Object Hierarchy

        GObject
        ╰── GstObject
            ╰── GstElement
                ╰── GstBaseSrc
                    ╰── GstPushSrc
                        ╰── GstTCPServerSrc

## Description

### Example launch line

    1
    2
    3
    4
    # server:
    gst-launch tcpserversrc protocol=none port=3000 ! fdsink fd=2
    # client:
    gst-launch fdsrc fd=1 ! tcpclientsink protocol=none port=3000

## Synopsis

### Element Information

plugin | tcp
author | Thomas Vander Stichele <thomas at apestaart dot org>
class | Source/Network

### Element Pads

name | src
direction | source
presence | always
details | ANY

## Functions

## Types and Values

### struct GstTCPServerSrc

    struct GstTCPServerSrc;

## Property Details

### The `“host”` property

      “host”                     gchar *

The hostname to listen as.

Flags: Read / Write

Default value: NULL

### The `“port”` property

      “port”                     gint

The port to listen to.

Flags: Read / Write

Allowed values: [0,65535]

Default value: 4953

### The `“protocol”` property

      “protocol”                 GstTCPProtocol

The protocol to wrap data in.

Flags: Read / Write

Default value: GST_TCP_PROTOCOL_NONE

## See Also

tcpserversink