diff options
author | William Manley <will@williammanley.net> | 2014-11-03 02:47:14 +0000 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2015-03-13 20:05:00 +0100 |
commit | 7c10499ecdfb3743e893eac8439c03d58895dd46 (patch) | |
tree | b299ee4c8c9d93a8f0fd3e6ea0e54d694d9b1f78 /docs/plugins/inspect/plugin-tcp.xml | |
parent | 592fc9cdbadf6b7b3ea5e04fba87d8bf717055e4 (diff) |
tcp: Add element socketsrc
`socketsrc` can be considered a source counterpart to `multisocketsink`.
It can be considered a generalization of `tcpclientsrc` and
`tcpserversrc`: it contains all the logic required to communicate over
the socket but none of the logic for creating the sockets/establishing
the connection in the first place, allowing the user to accomplish this
externally in whatever manner they wish making it applicable to other
types of sockets besides TCP.
This commit essentially copies the implementation directly from
tcpserversrc. Later patches will tidy the implementation up and
re-implement `tcpclientsrc` and `tcpserversrc` in terms of `socketsrc`.
See https://bugzilla.gnome.org/show_bug.cgi?id=739546
Diffstat (limited to 'docs/plugins/inspect/plugin-tcp.xml')
-rw-r--r-- | docs/plugins/inspect/plugin-tcp.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/plugins/inspect/plugin-tcp.xml b/docs/plugins/inspect/plugin-tcp.xml index 6e15bed498..1a24a301ed 100644 --- a/docs/plugins/inspect/plugin-tcp.xml +++ b/docs/plugins/inspect/plugin-tcp.xml @@ -40,6 +40,21 @@ </pads> </element> <element> + <name>socketsrc</name> + <longname>socket source</longname> + <class>Source/Network</class> + <description>Receive data from a socket</description> + <author>William Manley <will@williammanley.net></author> + <pads> + <caps> + <name>src</name> + <direction>source</direction> + <presence>always</presence> + <details>ANY</details> + </caps> + </pads> + </element> + <element> <name>tcpclientsink</name> <longname>TCP client sink</longname> <class>Sink/Network</class> |