testing sendmsg, also removed the unused interface close function