Unix send command more reliable (we send until everything is sent)