Pocket PC Networking >> TCPListener doesn't establish a connection at first start

by SHViZXJ0IEJ1ZGJlbmRlY2s » Fri, 09 Sep 2005 17:31:02 GMT

Hello all,

I'm creating a TCP/IP connection with a TCPListener and TCPClient in VB .NET.
Client application is runing on PocketPC 2003 (symbol 8056). Somethimes at
start of the client application a error like "Could not find resource
assembly" occurs and connection is not established.
If I connect with the PocketPC emulator started in Visual Studio .Net to my
TCPListener connection is established. After doing that, even PocketPC
application running on symbol 8056 connects to the TCPListener.

I've installed the .NET compact framework 1.1 and my application on the
PocketPC.

What is the reason for this behavior and what is missing on the PocketPC
device?


Similar Threads

1. start application on next event of connection established - Pocketpc Developer

2. How to specify a batch file to start when connection established

Dear all,

I need to call a batch file when the connection (by modem)
established.
I am using Windows2000 server both in host and remote

Please help

Thanks..

Regards,

Franky

3. Established connection doesn't close/drop after server is killed

4. Start a program upon establishing an internet connection

I would like to automatically start a program any time a dialup internet 
connection is established. Any ideas? 


5. Remote Access Connection Manager doesn't start anymore

6. dhcpd in rc script doesn't start, but it does start by hand

The title says it all-  I have a single /etc/rc script that starts the
machine, invoked by inittab with the line

si::sysinit:/etc/rc

The last line of this script is

/usr/sbin/dhcpd

When the machine starts, all messages indicate that dhcpd is running
(on the screen and in /var/log/messages), but ps -Af does not show
dhcpd running, and external machines can not get dhcp addresses.

I am trying to debug this, but the frustrating thing is that in every
debug test I have ran, dhcp works!  In particular:

        1). It works when I put a "sleep 2" after the dhcpd start in
rc (but this seems like the wrong way to go about fixing this).

        2). When I type /usr/sbin/dhcpd by hand in bash, it works.

      3). When I boot into single user mode and run /etc/rc by hand,
it also works.

        4). When I start dhcpd with strace in /etc/rc, it also works.

Because dhcpd works in every debug test I have tried, I am running out
of ideas on how to debug this.

                                           thanks
                                                   -J

7. VS 2003 and activesync 4.1 "Connection Failed - Cannot establish a connection" - Pocketpc Developer

8. Wireless connection doesn't always automatically start up..

I'm using a D-Link 624 router, a Hawking adapter on a desktop and a 
truemobile adapter on my laptop all using WPA.  Sometimes, but not all times, 
when I boot the desktop and/or laptop come up with eithe the red X on the 
wireless icon or the yellow exclamation point.  I then either have to 
manually connect or do a repair respectively.  Why can't I get a reliable 
connection?

Thanks