Am facing a problem in developing peer to peer appln.
first of all a machine has two ips(one private visible in intranet like 192.168.0.121 and second public ip visible in internet 10.2.2.3).now i need to connect to a peer located at remote place with the same criteria(two ips).The problem is i cnt go through the public ip to internal ip.On reading some articles on net i came to know the technique used to connect through public ip to private ip is termed as "HOLE PUNCHING"/"PORT FORWARDING".can some one help me on this issue? r is there any alternative other than this.I have to do it programmatically not manually.
Bharath