added recv/sendbuff to both send and recv