Hi Guys, im learning how to use Sockets in C# and im in the process of making a very simple 'MSN Like' Chat application. Its coming along nicely, i've tested it and it works fine on Local Networks like my one at Uni but if i try to connect to someone over the Internet e.g. my friend located on a different network, it doesn't work, the Client is able to connect to the Server, but the messages being sent are not displayed...

I spoke to my lecturer about this and he said that i would need to set up port forwarding for both machines so that my computer knows what to do/where to send "X information" it gets on "X Port".

This is really tedious to do, especially for someone thats not so tech savvy, so is there a simple way to do this in code automatically? Sorry if it's a silly question, but im new to Network Programming... :P

I can add full code to demonstrate what im doing if neccessary... Thanks Guys