added more debug statements

This commit is contained in:
Charles Descamps 2025-02-19 19:41:12 -07:00
parent d94793fbf6
commit 73a94fdcb0

View file

@ -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()
if(FD_ISSET(fileIter, &socketList))
{
printf("\nSocket has been found: %d\n", fileIter);
// if the server socket is being written to/read from,
if(fileIter == socketEchoFD)
{