call find socket correctly