Hello,

I want to connect to a db server from my application, i dont want to
initiate the network connection of the device programmatically, i just want
to test programmatically if a network connection is present, if it is present
I continue, otherwise i ask the user to make a connection then continue.

How do i do it?

Thank you.

Re: Network Connectivity (Needed urgently) by Alex

Alex
Sun Jun 19 17:10:48 CDT 2005

Usually you try to open a connection to port 80 of the target server and see
if it fails. In C++ code use sockets, in CF code use TCPClient or Socket

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Philip Germanos" <PhilipGermanos@discussions.microsoft.com> wrote in
message news:BC0F65F0-3B98-4913-B91D-D1B3744C29B9@microsoft.com...
> Hello,
>
> I want to connect to a db server from my application, i dont want to
> initiate the network connection of the device programmatically, i just
> want
> to test programmatically if a network connection is present, if it is
> present
> I continue, otherwise i ask the user to make a connection then continue.
>
> How do i do it?
>
> Thank you.