Sockets and datasource configuration