get sendrcv working