Top |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSrc ╰── GstPushSrc ╰── GstTCPServerSrc
1 2 3 4 |
# server: gst-launch-1.0 tcpserversrc port=3000 ! fdsink fd=2 # client: gst-launch-1.0 fdsrc fd=1 ! tcpclientsink port=3000 |
plugin |
tcp |
author |
Thomas Vander Stichele <thomas at apestaart dot org> |
class |
Source/Network |
“current-port”
property“current-port” gint
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).
Flags: Read
Allowed values: [0,65535]
Default value: 0
Since: 1.0.2
“host”
property“host” gchar *
The hostname to listen as.
Flags: Read / Write
Default value: NULL
“port”
property“port” gint
The port to listen to (0=random available port).
Flags: Read / Write
Allowed values: [0,65535]
Default value: 4953