compare of socket address corrected