common changes in listening on sockets