added more debug statements
This commit is contained in:
parent
d94793fbf6
commit
73a94fdcb0
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ int main(int argc, char **argv)
|
||||||
// check to see if the file descriptor is in the set of sockets using FD_ISSET()
|
// check to see if the file descriptor is in the set of sockets using FD_ISSET()
|
||||||
if(FD_ISSET(fileIter, &socketList))
|
if(FD_ISSET(fileIter, &socketList))
|
||||||
{
|
{
|
||||||
|
printf("\nSocket has been found: %d\n", fileIter);
|
||||||
// if the server socket is being written to/read from,
|
// if the server socket is being written to/read from,
|
||||||
if(fileIter == socketEchoFD)
|
if(fileIter == socketEchoFD)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue