prepare net socket send