gstreamer/gst/tcp
Wim Taymans e9de36e38c Ported tcp plugins to 0.9.
Original commit message from CVS:
* configure.ac:
* gst/tcp/Makefile.am:
* gst/tcp/README:
* gst/tcp/gstmultifdsink.c: (gst_multifdsink_get_type),
(gst_multifdsink_base_init), (gst_multifdsink_class_init),
(gst_multifdsink_init), (gst_multifdsink_remove_client_link),
(is_sync_frame), (gst_multifdsink_handle_client_write),
(gst_multifdsink_render), (gst_multifdsink_start),
(gst_multifdsink_stop), (gst_multifdsink_change_state):
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c: (gst_tcp_host_to_ip),
(gst_tcp_gdp_read_buffer), (gst_tcp_gdp_read_caps),
(gst_tcp_gdp_write_buffer), (gst_tcp_gdp_write_caps):
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
(gst_tcpclientsink_init), (gst_tcpclientsink_setcaps),
(gst_tcpclientsink_render), (gst_tcpclientsink_start),
(gst_tcpclientsink_stop), (gst_tcpclientsink_change_state):
* gst/tcp/gsttcpclientsink.h:
* gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_get_type),
(gst_tcpclientsrc_base_init), (gst_tcpclientsrc_class_init),
(gst_tcpclientsrc_init), (gst_tcpclientsrc_getcaps),
(gst_tcpclientsrc_create), (gst_tcpclientsrc_start),
(gst_tcpclientsrc_stop), (gst_tcpclientsrc_unlock):
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpplugin.c: (plugin_init):
* gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init):
* gst/tcp/gsttcpserversink.h:
* gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_get_type),
(gst_tcpserversrc_base_init), (gst_tcpserversrc_class_init),
(gst_tcpserversrc_init), (gst_tcpserversrc_finalize),
(gst_tcpserversrc_create), (gst_tcpserversrc_start),
(gst_tcpserversrc_stop):
* gst/tcp/gsttcpserversrc.h:
* gst/tcp/gsttcpsink.c:
* gst/tcp/gsttcpsink.h:
* gst/tcp/gsttcpsrc.c:
* gst/tcp/gsttcpsrc.h:
Ported tcp plugins to 0.9.
2005-07-05 10:21:40 +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 gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array resizing code. 2004-10-28 14:22:15 +00:00
gstfdset.h gst/tcp/: Some extra checks in gstfdset. 2004-08-18 16:13:19 +00:00
gstmultifdsink.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gstmultifdsink.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +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 Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcp.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpclientsink.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpclientsink.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpclientsrc.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpclientsrc.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +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 Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpserversink.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpserversrc.c Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
gsttcpserversrc.h Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +00:00
Makefile.am Ported tcp plugins to 0.9. 2005-07-05 10:21:40 +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