G
Guest
Hello
This problem is driving me crazy: - Here is the situation in my c# compact framework (VS.net 2003
Address ipAddress = IPAddress.Parse(Dns.Resolve(vsServerIP).AddressList[0].ToString())
IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress,viPortNumber);
1) Above code (DNS.resolve) works perfectly In emulato
2) But when PDA is connected using ETHERNET ADAPTER(application is launched in PDA), this code (Dns.resolve) throws SocketException. (inner exception . "THIS IP ADDRESS IS NOT VALID IN IT'S CONTEXT
3) PDA works if IP(numeric) is supplied instead of machine name (i.e without using DNS.resolve)
Please help me out... this is driving me mad. Just FYI, the PDA Pings properly for IP address assigned... and while debugging i am connected to my machine using machine name
(BTW it does not work even in NON DEBUG MODE. ie. by application itself)
REALLY NEED HELP
Hars
This problem is driving me crazy: - Here is the situation in my c# compact framework (VS.net 2003
Address ipAddress = IPAddress.Parse(Dns.Resolve(vsServerIP).AddressList[0].ToString())
IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress,viPortNumber);
1) Above code (DNS.resolve) works perfectly In emulato
2) But when PDA is connected using ETHERNET ADAPTER(application is launched in PDA), this code (Dns.resolve) throws SocketException. (inner exception . "THIS IP ADDRESS IS NOT VALID IN IT'S CONTEXT
3) PDA works if IP(numeric) is supplied instead of machine name (i.e without using DNS.resolve)
Please help me out... this is driving me mad. Just FYI, the PDA Pings properly for IP address assigned... and while debugging i am connected to my machine using machine name
(BTW it does not work even in NON DEBUG MODE. ie. by application itself)
REALLY NEED HELP
Hars