Hello sorry for asking but I've tried looking everywhere and I can't get this working. I can send packets to my local IP address just fine but not to my online IP address. I've tried microsofts winsock example code and even that is not working.
My port is open and if I use an "open port check tool" on google my server will say "connection closing." The port check tool also only says my port is open if my server is running. Can someone please help me or point me to a working server/client example?
My code tags wouldn't format properly here so I had to put my code on github. I made some changes to the code so I don't have to pass it command line arguments. I would really appreciate some help I have look everywhere but I can't get it working.