C Networkstream Example