|  |  |  | GStreamer Base Plugins 1.0 Plugins Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSink +----GstMultiHandleSink +----GstMultiSocketSink +----GstTCPServerSink
| 1 2 3 4 | # server: gst-launch fdsrc fd=1 ! tcpserversink port=3000 # client: gst-launch tcpclientsrc port=3000 ! fdsink fd=2 | 
| plugin | tcp | 
| author | Thomas Vander Stichele <thomas at apestaart dot org> | 
| class | Sink/Network | 
"host" property"host" gchar* : Read / Write
The host/IP to listen on.
Default value: "localhost"
"port" property"port" gint : Read / Write
The port to listen to (0=random available port).
Allowed values: [0,65535]
Default value: 4953
"current-port" property"current-port" gint : Read
The port number the socket is currently bound to. Applications can use this property to retrieve the port number actually bound to in case the port requested was 0 (=allocate a random available port).
Allowed values: [0,65535]
Default value: 0
Since 1.0.2