updated configuration for sockets