I want to write two programs for server and client to communicate with TCP and send some numbers.

In fact a Port Forwarding should be happened in router but I can't find the way it should be written in server and client programs.

-what are related commands?-

(actually I don't have access to router)

(I tried a case in which both of server and client were on the same network and that case worked correctly.)

thank you

More Mohammad mahdi Cheraghi's questions See All
Similar questions and discussions