gstreamer/gst/tcp
Andy Wingo cd5ad0ec01 gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i...
Original commit message from CVS:
2005-09-28  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen
from fdsrc. Get caps in create() instead of start() so it can be
interrupted. Interruption somewhat untested.

* gst/tcp/gsttcp.c (gst_tcp_read_buffer, gst_tcp_socket_read):
Proper EOS handling.
2005-09-28 12:25:08 +00:00
..
.gitignore gst/tcp/: Added burst on connect sync_method, deprecated sync_clients, streamlined the sync code some more. 2004-10-29 11:10:38 +00:00
fdsetstress.c gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array resizing code. 2004-10-28 14:22:15 +00:00
gstfdset.c first stab at documenting elements 2005-08-05 17:13:10 +00:00
gstfdset.h gst/tcp/: Some extra checks in gstfdset. 2004-08-18 16:13:19 +00:00
gstmultifdsink.c fix up ffmpegcolorspace docs; extract header 2005-09-15 15:43:28 +00:00
gstmultifdsink.h first stab at documenting elements 2005-08-05 17:13:10 +00:00
gsttcp-marshal.list gst/tcp/: Starting to prepare for specifying buffer time in other units than buffers. Expose remove reason in signal. 2004-08-10 15:23:19 +00:00
gsttcp.c gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i... 2005-09-28 12:25:08 +00:00
gsttcp.h gst/tcp/: Updated for new gsttcp API. 2005-09-27 16:37:12 +00:00
gsttcpclientsink.c All plugins updated for element state changes. 2005-09-02 15:43:18 +00:00
gsttcpclientsink.h first stab at documenting elements 2005-08-05 17:13:10 +00:00
gsttcpclientsrc.c gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i... 2005-09-28 12:25:08 +00:00
gsttcpclientsrc.h gst/tcp/gsttcpclientsrc.c: Make interruptable -- code stolen from fdsrc. Get caps in create() instead of start() so i... 2005-09-28 12:25:08 +00:00
gsttcpplugin.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpplugin.h *.h: Revert indenting 2004-03-15 16:32:55 +00:00
gsttcpserversink.c renamed to actual element names, so much nicer to look at 2005-08-05 18:51:29 +00:00
gsttcpserversink.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpserversrc.c gst/tcp/gsttcpserversrc.c: Cleaned up. 2005-09-27 16:58:11 +00:00
gsttcpserversrc.h first stab at documenting elements 2005-08-05 17:13:10 +00:00
Makefile.am make GST_PLUGIN_LDFLAGS only be flags; GST_LIBS should be added manually to each Makefile.am so we are sure it goes 2005-07-13 17:58:07 +00:00
README Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
tcp.vcproj more working plugins 2004-07-27 21:41:30 +00:00

This part of the documentation is for the new tcp elements:
- tcpclientsrc
- tcpclientsink
- tcpserversrc
- tcpserversink
                                                                                
TESTS
-----
Use these tests to test functionality of the various tcp plugins

* server: nc -l -p 3000
  client: nc localhost 3000
  everything you type in the server is shown on the client
  everything you type in the client is shown on the server

* server: nc -l -p 3000
  client: gst-launch tcpclientsrc protocol=none port=3000 ! fdsink fd=2
  everything you type in the server is shown on the client

* server: nc -l -p 3000
  client: gst-launch fdsrc fd=1 ! tcpclientsink protocol=none port=3000
  everything you type in the client is shown on the server

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


TODO
----
- implement DNS resolution