[xiph-commits] r14191 - experimental/ribamar/etheora/examples/client-server-ssl

ribamar at svn.xiph.org ribamar at svn.xiph.org
Mon Nov 19 12:31:32 PST 2007


Author: ribamar
Date: 2007-11-19 12:31:32 -0800 (Mon, 19 Nov 2007)
New Revision: 14191

Modified:
   experimental/ribamar/etheora/examples/client-server-ssl/README.txt
Log:
documenting etheora/client-server example.

Modified: experimental/ribamar/etheora/examples/client-server-ssl/README.txt
===================================================================
--- experimental/ribamar/etheora/examples/client-server-ssl/README.txt	2007-11-19 20:18:26 UTC (rev 14190)
+++ experimental/ribamar/etheora/examples/client-server-ssl/README.txt	2007-11-19 20:31:32 UTC (rev 14191)
@@ -1,15 +1,20 @@
 
 this example features 2 programs: a server that encodes some data and accepts
-connections from clients. 
+a connection from a client and a client that connects to that server, get 
+data and draw it into an SDL window. 
 
 
+building example:
+copy (or link) etheora.c etheora.h etheora-int.h to this directory. 
+build the client with (requires libSDL in your system, with 
+development files, as well libtheora): 
 
+gcc client-decoder.c etheora.c  -I. -ltheora -lSDL -o client-decoder
 
-command line example - client: 
- gcc client-decoder.c etheora.c  -I. -ltheora -lSDL -o client-decoder
- gcc client-decoder.c etheora.c  -I. -ltheora -lssl -lSDL -o client-decoder
+and then build the server with: 
+gcc server-encoder.c etheora.c  -I. -ltheora  -o server-encoder
 
-command line example - server: 
- gcc server-encoder.c etheora.c  -I. -ltheora  -o server-encoder
+Running example: 
+./server-encoder 3000
+./client-decoder localhost 3000
 
-gcc fe.c -lssl -o fe



More information about the commits mailing list