tcp client write
small fixes
receivers: functions and methods