Need to check pointers for recv_buffer