file transfer
-
Hi All
Is that any simple way to transfer files from one computer to another computer via internet using VC++ code
-
Hi All
Is that any simple way to transfer files from one computer to another computer via internet using VC++ code
I am not sure about the transfer, but a way to get proper answers in CP is not reposting[^]
Regards. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpfull answers is nice, but saying thanks can be even nicer.
-
Hi All
Is that any simple way to transfer files from one computer to another computer via internet using VC++ code
Yes, there is.
The difficult we do right away... ...the impossible takes slightly longer.
-
Hi All
Is that any simple way to transfer files from one computer to another computer via internet using VC++ code
-
That is exactly what sockets were designed for. Try a Google search and you will find plenty of samples and tutorials that will help you.
Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman
-
That is exactly what sockets were designed for. Try a Google search and you will find plenty of samples and tutorials that will help you.
Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman
Okay but i tried many sample socket program it's works fine within a network ips like 127.0.0.1 but i tried to connect dynamic ip( which is get for www.whatismyip.com) it's fails to communicate..
-
Okay but i tried many sample socket program it's works fine within a network ips like 127.0.0.1 but i tried to connect dynamic ip( which is get for www.whatismyip.com) it's fails to communicate..
ravijmca wrote:
but i tried to connect dynamic ip( which is get for www.whatismyip.com) it's fails to communicate..
To use IP there are two computers: client and server. To use IP there MUST be a way to route between those two computers. To route the address of the server must be exposed to the client. There are ONLY two ways to do that on the internet. 1. The server MUST have a public IP. 2. The server MUST have a network setup (routers/gateways) such that a public IP will route to the server (the server need not have a public IP.) whatismyip will always give a result but that result doesn't mean anything. All that matters is 1/2 above. For normal ISPs there are three ways that they provide customers with "internet". 1. The customer has a static public IP. 2. The customer has a dynamic public IP. 3. The customer does not have a public IP. (in this case it does not matter whether it is static/dynamic.) The result of whatismyip is only relevant to the above if the ISP is 1 or 2. If that is the case then the IP listed is the one that your computer (or router/modem) has. Note that 127.0.0.1 is not a public IP nor is it a private one for that matter. (Also just because your computer has a public IP it doesn't mean it is public on the internet but it does make it more likely.)
-
ravijmca wrote:
but i tried to connect dynamic ip( which is get for www.whatismyip.com) it's fails to communicate..
To use IP there are two computers: client and server. To use IP there MUST be a way to route between those two computers. To route the address of the server must be exposed to the client. There are ONLY two ways to do that on the internet. 1. The server MUST have a public IP. 2. The server MUST have a network setup (routers/gateways) such that a public IP will route to the server (the server need not have a public IP.) whatismyip will always give a result but that result doesn't mean anything. All that matters is 1/2 above. For normal ISPs there are three ways that they provide customers with "internet". 1. The customer has a static public IP. 2. The customer has a dynamic public IP. 3. The customer does not have a public IP. (in this case it does not matter whether it is static/dynamic.) The result of whatismyip is only relevant to the above if the ISP is 1 or 2. If that is the case then the IP listed is the one that your computer (or router/modem) has. Note that 127.0.0.1 is not a public IP nor is it a private one for that matter. (Also just because your computer has a public IP it doesn't mean it is public on the internet but it does make it more likely.)
You forgot to mention the added interference of firewalls into the whole equation.