apparently it's an error to specify nc -l -p 3000 - though the short usage does not make it very clear that you can d...

Original commit message from CVS:
apparently it's an error to specify nc -l -p 3000 - though the short usage
does not make it very clear that you can drop the host arg with -l
This commit is contained in:
Thomas Vander Stichele 2008-06-20 16:12:50 +00:00
parent 5ff8a9437e
commit bcc3b3b5f5

View file

@ -8,16 +8,16 @@ TESTS
----- -----
Use these tests to test functionality of the various tcp plugins Use these tests to test functionality of the various tcp plugins
* server: nc -l -p 3000 * server: nc -l 3000
client: nc localhost 3000 client: nc localhost 3000
everything you type in the server is shown on the client everything you type in the server is shown on the client
everything you type in the client is shown on the server everything you type in the client is shown on the server
* server: nc -l -p 3000 * server: nc -l 3000
client: gst-launch tcpclientsrc protocol=none port=3000 ! fdsink fd=2 client: gst-launch tcpclientsrc protocol=none port=3000 ! fdsink fd=2
everything you type in the server is shown on the client everything you type in the server is shown on the client
* server: nc -l -p 3000 * server: nc -l 3000
client: gst-launch fdsrc fd=1 ! tcpclientsink protocol=none port=3000 client: gst-launch fdsrc fd=1 ! tcpclientsink protocol=none port=3000
everything you type in the client is shown on the server everything you type in the client is shown on the server