1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>tcpserversink</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Plugins Reference Manual">
8 <link rel="up" href="ch01.html" title="gst-plugins-base Elements">
9 <link rel="prev" href="gst-plugins-base-plugins-tcpserversrc.html" title="tcpserversrc">
10 <link rel="next" href="gst-plugins-base-plugins-textoverlay.html" title="textoverlay">
11 <meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="gst-plugins-base-plugins-tcpserversrc.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">GStreamer Base Plugins 0.10 Plugins Reference Manual</th>
21 <td><a accesskey="n" href="gst-plugins-base-plugins-textoverlay.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#gst-plugins-base-plugins-tcpserversink.synopsis" class="shortcut">Top</a>
26 <a href="#gst-plugins-base-plugins-tcpserversink.description" class="shortcut">Description</a>
28 <a href="#gst-plugins-base-plugins-tcpserversink.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#gst-plugins-base-plugins-tcpserversink.properties" class="shortcut">Properties</a>
33 <div class="refentry">
34 <a name="gst-plugins-base-plugins-tcpserversink"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-tcpserversink.top_of_page"></a>tcpserversink</span></h2>
38 <p>tcpserversink — Send data as a server over the network via TCP</p>
40 <td valign="top" align="right"></td>
42 <div class="refsynopsisdiv">
43 <a name="gst-plugins-base-plugins-tcpserversink.synopsis"></a><h2>Synopsis</h2>
44 <a name="GstTCPServerSink"></a><pre class="synopsis">struct <a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink-struct" title="struct GstTCPServerSink">GstTCPServerSink</a>;
47 <div class="refsect1">
48 <a name="gst-plugins-base-plugins-tcpserversink.object-hierarchy"></a><h2>Object Hierarchy</h2>
49 <pre class="synopsis">
50 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
51 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstObject.html">GstObject</a>
52 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>
53 +----<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSink.html">GstBaseSink</a>
54 +----<a class="link" href="gst-plugins-base-plugins-multifdsink.html#GstMultiFdSink">GstMultiFdSink</a>
58 <div class="refsect1">
59 <a name="gst-plugins-base-plugins-tcpserversink.properties"></a><h2>Properties</h2>
60 <pre class="synopsis">
61 "<a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--host" title='The "host" property'>host</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
62 "<a class="link" href="gst-plugins-base-plugins-tcpserversink.html#GstTCPServerSink--port" title='The "port" property'>port</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
65 <div class="refsect1">
66 <a name="gst-plugins-base-plugins-tcpserversink.description"></a><h2>Description</h2>
69 <div class="refsect2">
70 <a name="idp13217536"></a><h3>Example launch line</h3>
71 <div class="informalexample">
72 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
75 <td class="listing_lines" align="right"><pre>1
79 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc ppc"># server:</span>
80 gst<span class="gtkdoc opt">-</span>launch fdsrc fd<span class="gtkdoc opt">=</span><span class="number">1</span> <span class="gtkdoc opt">!</span> tcpserversink protocol<span class="gtkdoc opt">=</span>none port<span class="gtkdoc opt">=</span><span class="number">3000</span>
81 <span class="gtkdoc ppc"># client:</span>
82 gst<span class="gtkdoc opt">-</span>launch tcpclientsrc protocol<span class="gtkdoc opt">=</span>none port<span class="gtkdoc opt">=</span><span class="number">3000</span> <span class="gtkdoc opt">!</span> fdsink fd<span class="gtkdoc opt">=</span><span class="number">2</span></pre></td>
91 <div class="refsynopsisdiv">
93 <div class="refsect2">
94 <a name="idp13220288"></a><h3>Element Information</h3>
95 <div class="variablelist"><table border="0">
96 <col align="left" valign="top">
99 <td><p><span class="term">plugin</span></p></td>
101 <a class="link" href="gst-plugins-base-plugins-plugin-tcp.html#plugin-tcp">tcp</a>
105 <td><p><span class="term">author</span></p></td>
106 <td>Thomas Vander Stichele <thomas at apestaart dot org></td>
109 <td><p><span class="term">class</span></p></td>
110 <td>Sink/Network</td>
116 <div class="refsect2">
117 <a name="idp13227696"></a><h3>Element Pads</h3>
118 <div class="variablelist"><table border="0">
119 <col align="left" valign="top">
122 <td><p><span class="term">name</span></p></td>
126 <td><p><span class="term">direction</span></p></td>
130 <td><p><span class="term">presence</span></p></td>
134 <td><p><span class="term">details</span></p></td>
144 <div class="refsect1">
145 <a name="gst-plugins-base-plugins-tcpserversink.details"></a><h2>Details</h2>
146 <div class="refsect2">
147 <a name="GstTCPServerSink-struct"></a><h3>struct GstTCPServerSink</h3>
148 <pre class="programlisting">struct GstTCPServerSink;</pre>
150 Opaque data structure.
154 <div class="refsect1">
155 <a name="gst-plugins-base-plugins-tcpserversink.property-details"></a><h2>Property Details</h2>
156 <div class="refsect2">
157 <a name="GstTCPServerSink--host"></a><h3>The <code class="literal">"host"</code> property</h3>
158 <pre class="programlisting"> "host" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
159 <p>The host/IP to send the packets to.</p>
160 <p>Default value: "localhost"</p>
163 <div class="refsect2">
164 <a name="GstTCPServerSink--port"></a><h3>The <code class="literal">"port"</code> property</h3>
165 <pre class="programlisting"> "port" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
166 <p>The port to send the packets to.</p>
167 <p>Allowed values: [0,65535]</p>
168 <p>Default value: 4953</p>
171 <div class="refsect1">
172 <a name="gst-plugins-base-plugins-tcpserversink.see-also"></a><h2>See Also</h2>
173 <span class="type">multifdsink</span>
178 Generated by GTK-Doc V1.18</div>