gstreamer/gst/tcp
Andy Wingo 21881814bc gst/tcp/: Updated for new gsttcp API.
Original commit message from CVS:
2005-09-27  Andy Wingo  <wingo@pobox.com>

* gst/tcp/gsttcpserversrc.c:
* gst/tcp/gsttcpclientsrc.c: Updated for new gsttcp API.

* gst/tcp/gsttcp.h:
* gst/tcp/gsttcp.c (gst_tcp_read_buffer): New function, factored
out of tcpclientsrc.c. Cancellable.
(gst_tcp_socket_read): Made private, cancellable, with better
diagnostics. Also the FIONREAD ioctl takes a int*, not a size_t*.
(gst_tcp_gdp_read_buffer): Made cancellable, actually returns the
whole buffer, and better diagnostics.
(gst_tcp_gdp_read_caps): Same.

* gst/sine/gstsinesrc.c (gst_sinesrc_wait): Add the base time.
2005-09-27 16:37:12 +00:00
..
.gitignore
fdsetstress.c
gstfdset.c
gstfdset.h
gstmultifdsink.c fix up ffmpegcolorspace docs; extract header 2005-09-15 15:43:28 +00:00
gstmultifdsink.h
gsttcp-marshal.list
gsttcp.c gst/tcp/: Updated for new gsttcp API. 2005-09-27 16:37:12 +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
gsttcpclientsrc.c gst/tcp/: Updated for new gsttcp API. 2005-09-27 16:37:12 +00:00
gsttcpclientsrc.h
gsttcpplugin.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpplugin.h
gsttcpserversink.c
gsttcpserversink.h
gsttcpserversrc.c gst/tcp/: Updated for new gsttcp API. 2005-09-27 16:37:12 +00:00
gsttcpserversrc.h
Makefile.am
README
tcp.vcproj

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