c# - Direct P2P connection -
This theme looks like
I'm new to network programming, never done anything But the original TCP / UDP on a local machine is now developing an application that will require P2P network support. More specifically I will need to apply to connect and communicate with the Internet without using a server to make a match between the client.
I know and behind all the users router that makes this process complicated because neither the client will be able to start a direct connection to the other.
I know that there is an option to allow UPnP port forwarding, which without users configuring manually, but now it is not an option. Is there a way to achieve their goal or would I need that server?
You will need a server to exchange IP addresses and such as The other thread really tells, the only way to guarantee a connection is a proxy through the server. In most cases, most peer systems UPnP and NAT punching punch (This method should relay the port information and only work with UDP Need is required).
NAT hole punching works by establishing a connection to a server by both clients, then both try to connect directly to a port, which the other relays for another Most UDP plays have missed the IP address and port for some time, although the data did not make it to the other end (although this is not the case with the UDP) Other clients will be able to do that repo T would expect the NAT North.
Comments
Post a Comment