Added dupplicate check to dll_recv()