Hello..
Im a little confused.. What would be the proper way to allocate memory for the new struct fd_array? And how should I check if its already allocate and relocate it? Should I use sockset *ns = new sockset.. ?
Thanks a lot
Code:struct sockset {
unsigned int fd_count;
SOCKET *fd_array;
};