I have one doubts about tcp/ip.
I read a few tutorials about this subject and I made some projects to communicate inside my local net, at my home, but I can't figure out and I can't find anywhere what I must to do to communicate outside my local net. For instance, I am in Portugal and I want to make a app in c++ to share files or communicate with a friend of mine which is in Brazil.
My guess is that I need my global ip, but how can i get it? I only get the local ip.
Thanks in advance