S
Steve McKewen
I am working on Windows Mobile 6 with VS2005.
I want my mobile devices to connect to a shared folder on a PC in an
isolated network environment. I don't have a server or router in the
network, so don't have a DNS server.
I can ping the PC using its IP address, but not its hostname.
I have written a ping routine using a dotnet socket to send an
IcmpPacket.
I can connect to the shared folder by the hostname but not the IP address.
I am using a System.IO.DirectoryInfo object to open the share.
I want to connect the the share \\ControlPC\temp on the PC named ControlPC
at 192.168.0.5
I can ping 192.168.0.5, but I can't find the hostname for that IPAddress.
I can connect to the share at \\ControlPC\temp, but not \\192.168.0.5\temp
I tried to resolve the IPAddress to a name using System.Net.Dns.GetHostEntry
but just get an exception "No such host is known".
Is there a way around this without adding a DNS server to my network?
Thanks
Steve in ABX
I want my mobile devices to connect to a shared folder on a PC in an
isolated network environment. I don't have a server or router in the
network, so don't have a DNS server.
I can ping the PC using its IP address, but not its hostname.
I have written a ping routine using a dotnet socket to send an
IcmpPacket.
I can connect to the shared folder by the hostname but not the IP address.
I am using a System.IO.DirectoryInfo object to open the share.
I want to connect the the share \\ControlPC\temp on the PC named ControlPC
at 192.168.0.5
I can ping 192.168.0.5, but I can't find the hostname for that IPAddress.
I can connect to the share at \\ControlPC\temp, but not \\192.168.0.5\temp
I tried to resolve the IPAddress to a name using System.Net.Dns.GetHostEntry
but just get an exception "No such host is known".
Is there a way around this without adding a DNS server to my network?
Thanks
Steve in ABX