modularized sockets