modified raw socket listener