dynamic number of SQL sockets?