TcpClient dont work in CF1.1

B

Benjamin

Hello,

i got problems with the TcpClient in CF1.1 (WinCE 4.2) When i try to
connect to a server i got immedently the exception "No such host is
known". If i try the same code in Framework 1.1 (WinXP) or in Compact
Framework 2.0 (WinCE 5.0) it works.

code*

client = New TcpClient(ServerName, Port)

code*

Some people say to me, there was a unsolved problem in the CF 1.1, is
this right?
any workaround?

Please Help

Best Regards Benjamin Wagner
 
P

Paul G. Tobey [eMVP]

How are you connected to the network? What name are you passing in
ServerName? It does work, generally. As Peter asked, what actual version
are you using (there's no such thing as .NET CF 1.1)?

Paul T.
 

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