System.IO.FileNotFoundException on TcpClient.Connect ??????? (CF2)

S

Sagaert Johan

Hi ;

Why do i get an System.IO.FileNotFoundException on this :


TcpClient cl=new TcpClient();

cl.Connect("192.168.1.80", 7777);

The Connect generates an exception visible in the output window.
Encapsulating the Connect in a try catch does not yield me the exception in
the catch.
I think the exception is thrown on another thread used inside the
TcpClient.Connect method.

The connection succeeds but only after throwing an
System.IO.FileNotFoundException after some seconds.

When i use a simple Socket the coinnection sucseeds immediate, so i guess
something is wrong in the CF..

Whats wrong ? is this a CF2.0 bug ?

(using a CE5 device with latest CF2 )

Johan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top