
Originally Posted by
freedompeace
Less than 2 hours between your first post and second. Please keep in mind that we aren't being paid by anyone to post here, or even help, for that matter.
Code:
inet_addr("xx.xx.xx.47");
must be a valid IP address.
Though not pretty, the above code works and is completely functional. I have just compiled it and tested it with my own TCP server, and I don't see any issues with the compiled application.
First of all, I really appreciate that you replied so quickly, and I understand that you guys aren't getting anything out of helping me so I really appreciate that you answered despite my rudeness.
Second of all, I know that the code is functional, but nobody can use it outside of my network. That's the issue I have been having for a while. I don't know why it isn't working even though i port forwarded.
I typed my gateway address in the url box of my browser and it took me to my router settings. I have a 2wire router. I clicked on firewall and then clicked on settings and then made a new user defined application. When it asked me for what port it will connect on i set it to "8888 to: 8888" and then connection timeout i set it for 8400. Then i set the type as "IRC" and then all the other kinds. Is there any reason why it wouldn't work?
EDIT:===============================
Ok, I got it to work with my global ip. It wasn't working before. The only problem is that i sent it to a friend and he opened and it didn't connect. Why would that happen? Any ideas?