I am new to networking, and I'm sorry if this is a dumb question.
I'm trying to make a simple p2p chat application in C# using sockets. I don't want to send the messages through a server, but instead, the clients will be talking directly to each other.
Of course, I will need a server to keep track of the client addresses, so one client actually knows where to find an other one, but that's only an IP address, and to establish a socket connection, I will also need a port. I don't want the users to have to mess around with port forwarding in the router.
So my question is, how do I create a connection between two different networks in C# using Sockets?