Making Samples executable. #!/usr/bin/env io and chmod a+x *.io
[io/quag.git] / addons / AVCodec / samples / server.io
blob0f0bb468d306e3d2d30860055e34f57577bb98bd
1 #!/usr/bin/env io
4 Server clone do(
5 setPort(8000)
6 handleSocket := method(s,
7 while(s streamReadNextChunk,
8 writeln(s readBuffer)
9 s readBuffer empty
12 ) start
14 // http://localhost:8000/stream/1018