stream server/client sample.