modify socket pack

Signed-off-by: lional <lional.king@gmail.com>