|
Posted by Chris De Herrera on September 5, 2005, 12:59 pm
Please log in for more thread options Hi,
Do you know what the IP address of the Windows CE device is? Also, what's
the subnet?
It sounds like Microsoft has changed the IP address scheme with AS 4.0.
--
Chris De Herrera
http://www.pocketpcfaq.com http://www.tabletpctalk.com http://www.pocketpctalk.com http://www.mobilitytalk.com
>I solved the problem myself.
> I don't understand why, but it works!
>
> Desktop:
> this.tcpServerListener = new TcpListener(IPAddress.Parse("127.0.0.1"),
> this._port);
> this.tcpServerListener.Start();
>
> WindowsCE:
> this.tcpClient = new TcpClient();
> this.tcpClient.Connect(new IPEndPoint(IPAddress.Parse("192.4.3.55"),
> this._port)); //192.4.3.55 = Network-IP from server networkcard
>
>
> "WebJumper" wrote:
>
>> Hi all,
>>
>> I have really trouble with my apps I'm developing!
>>
>> On the desktop computer I'm running Windows XP SP2. On the mobile device
>> runs Windows CE 4.1. I have installed ActiveSync 4.0.0.
>> My problem is that I don't get a connection between these two devices
>> using
>> TcpListener and TcpClient (.Net Framework and compact framework).
>>
>> ActiveSync works great. This means, I can transfer files between my
>> devices,
>> surf from the mobile device in the internet, etc.
>>
>> When I'm trying to ping WinCE (192.168.55.101), this operation fails
>> every
>> time, no answer from the mobile device, same the other way arround.
>>
>> I've testet my apps with the WindowsCE emulator: works perfekt!
>>
>> I do not understand why I can't ping the device or transfer data over the
>> TCP connection, because of I can surf the web from mobile device and this
>> should be done over the TCP connection!??!?
>>
>> The mobile device is connected to desktop computer over usb cable.
>>
>> I'll think when I get the mobile device pinged, the TCP connection should
>> work, too.
>>
>> For each assistance I am grateful !!!
>>
>> Regards,
>> Stefan
|