Updated UDP datastreams to be input, output or in/out similar to TCP