Thank you for the response and code. As for your tidbit at the end - I could not agree more!
I also have a networking class that I was somewhat struggling with about a month ago. I got my boss at work (who took the program a few years back) to draw me a diagram of the OSI and TCP/IP layers to better explain it and now I understand better.
I do appreciate your assistance, and I will review the code thoroughly. It would be rather useless to just copy and paste other peoples code because eventually, when I get into the workplace, I am going to need to understand how to do these codes.
I do thank you again for helping me out!