#42 implement stdio write (transmission)