If you read my whole post (sorry it's so long), you'll understand what my problem is now (my first problem was caused by gotos, but I removed some of those and it fixed it). Currently it will run, but I'm trying to get the server to send a string back to the client and it won't work. I'm not sure how I can fix this.
I still have gotos in my program because I haven't removed the others yet, but I will later. Once my program can communicate successfully between the client and server, I'll go through my code again and organize it better, and remove all of the gotos, but before I do that I want to make the program do what I need it to.