Can someone confirm something i think i allready got the answer to
My socket program:
Its going great. I have tried it on a local network and it works.
However, the next test was the internet. Here is the scenerio:
I am at home and connect to the net using a modem. I run the server side of the program here.
A mate of mine has my client program and is connected to the net with a modem aswell. I send him the ip address i am connected to the internet with. He types it in and cant get a connection haha.
Now, when i check my internet connection i got to ips.
The server ip(my provider) and the client(me) ip.
So my guess.....This will never work unless my program is running on my internet provides server.
to get it to work i need to use datagram sockets instedof stream sockets. This to enable a "peer to peer" connection and not having the connection running threw a server?
Ok, hope i am not confusing the hell out of you...