remove the incorrect code in sock_util.c