Click here to get back home

TcpListener (WinXP) <---> TcpClient (WinCE) ==> not connection

 HomeNewsGroups | Search | About
 microsoft.public.pocketpc.activesync    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
TcpListener (WinXP) <---> TcpClient (WinCE) ==> not connection WebJumperùg›&é©z·b±Ë¬²*'²hœ®‹( 09-02-2005
---> RE: TcpListener (WinXP) <---> TcpClient (WinCE) ==... WebJumperùg›&é©z·b±Ë¬²*'²hœ®‹(09-05-2005
Get Chitika Premium
Posted by WebJumperùg›&é©z·b±Ë¬²*'²hœ®‹( on September 2, 2005, 6:34 am
Please log in for more thread options
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


Posted by WebJumperùg›&é©z·b±Ë¬²*'²hœ®‹( on September 5, 2005, 6:13 am
Please log in for more thread options
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


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




Similar ThreadsPosted
No USB connection of WinCE 5.0 PND device with Vista workstation p February 23, 2007, 10:05 am
activesync old&new crashes winXP at connection settings November 28, 2008, 10:33 pm
Bluetooth connection problems - HTC TyTN II (Win Mob 6 Pro) vs. Thinkpad T60 (WinXP Pro) April 7, 2008, 12:11 pm
PerlCE on WinCE????????? November 3, 2006, 7:59 am
How can I replace wince.nls in windows folder? October 7, 2005, 7:35 pm
Synchronisation problem with winCE 4.20 and winMobile 5.0 January 4, 2006, 11:33 am
Need to add ActiveSync support to WinCE 5.0 Device August 1, 2006, 2:03 pm
WinCE 4.2 connect ActiveSync4.5 through RS232 November 26, 2008, 2:42 am
How to Active Sync over wince serial port January 1, 2008, 5:15 am
WinXP SP2 and ActiveSync November 30, 2005, 6:55 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap