Allocate enough capacity for the array stores get sockets info