socket send simplified