NEW: ping socket size support added