Windows CE - Copy File (directly) to an IP Address
Posted on 2008-06-16
In windows XP, using WNetAddConnection3, it is possible to enter in the ip address of the computer you are wanting to copy a file to (ie \\toComputer\toShareName could be \\192.168.0.11\toShareName). However when I try the same thing on windows CE (using the same function), it will not resolve (but it works fine if the full name is specified). Is there a way of adding a connection via IP address alone (on Windows CE (3.0 or 4.2))?
Note: After it connects for the first time (and the non persistent connection is closed), it connects much more rapidly each time another connection (to the same computer) is made, I assume the address resolution information is stored somewhere (in the registry?), I could also just update that information if I knew where it was stored.