modify listen socket