Hello all,
previously i was using accept() API for my socket connections,As my requirement changed where i need to listien on multiple socket fds, i used select system call.
my accept code is like below
Now my select call is like below.Code:accept(sockfd,(struct sockaddr*)&their_addr,&sin_size)
Code:select(serverSocket2 + 1, &fdset, NULL, NULL, NULL);
Now how can i get the sender address in this select call..?
Thanks all