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
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