how a packet gets fwd

Ted1

Senior member
Aug 22, 2000
202
0
0
i am new to socket progmming.. i can able to connect to a machine which is in my n/w with my prgm.. but if i want my prgm to work witha machine with other subnet means what i have to do...

first of all.. if a packet is fwded means.. it will go to the proxy first and then to the net.. if we given the destination machine's IP it will be routed... right. but wehen i want to communicate to a machine which is in other n/w which is also behind a proxy .. i will give the destination's IP as the host IP which will not be seen fromthe internet.. so how to solve this issue...