gstreamer/gst/tcp
Benjamin Pineau 4c419b0185 gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878;
Original commit message from CVS:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
Add <string.h> includes for memset and FD_ZERO (fixes #323878;
patch by: Benjamin Pineau).
2005-12-16 11:25:51 +00:00
..
.gitignore
fdsetstress.c
gstfdset.c expand tabs 2005-12-06 19:42:02 +00:00
gstfdset.h expand tabs 2005-12-06 19:42:02 +00:00
gstmultifdsink.c expand tabs 2005-12-06 19:42:02 +00:00
gstmultifdsink.h expand tabs 2005-12-06 19:42:02 +00:00
gsttcp-marshal.list
gsttcp.c gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878; 2005-12-16 11:25:51 +00:00
gsttcp.h expand tabs 2005-12-06 19:42:02 +00:00
gsttcpclientsink.c gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878; 2005-12-16 11:25:51 +00:00
gsttcpclientsink.h
gsttcpclientsrc.c expand tabs 2005-12-06 19:42:02 +00:00
gsttcpclientsrc.h expand tabs 2005-12-06 19:42:02 +00:00
gsttcpplugin.c
gsttcpplugin.h expand tabs 2005-12-06 19:42:02 +00:00
gsttcpserversink.c gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878; 2005-12-16 11:25:51 +00:00
gsttcpserversink.h
gsttcpserversrc.c gst/tcp/: Add <string.h> includes for memset and FD_ZERO (fixes #323878; 2005-12-16 11:25:51 +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