Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Here my aim is to send image/data from one system to another over internet in lan its simple by giving local ip but when comes to internet i face a problem if an ip is shared how can i specify a system


eg

here ip of my system

117.206.57.120

and i want to sent a data to

117.206.57.121

but if the ip is not shared it works but if ip is shared

117.206.57.121 contains

192.168.0.2
192.168.0.3
192.168.0.4
192.168.0.5

and i want to send data to 192.168.0.3


how can i achieve this


[ 192.168.1.3 ] 117.206.57.120 to 117.206.57.121 [ 192.168.1.2 ]
Posted

1 solution

You can't do anything from your code. The router on the client side has to be configured to forward the traffic on the specified IP and port to the system inside the network. If you have control over the voice the current is running them you can add UPnP code to set this up. If not, there's nothing you can do to select the target system from your end.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900