|
|
|
start date: Fri, 27 Jul 2007 05:08:35 -0700,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
Benjamin
|
|
2
Peter Foot [MVP]
|
|
3
Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
|
TcpClient dont work in CF1.1
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
Date:Fri, 27 Jul 2007 05:08:35 -0700
Author:
|
Re: TcpClient dont work in CF1.1
Firstly, are you running the latest Service Pack (SP3)? Although I don't see
any fixes related to TcpClient in the list:-
http://peterfoot.net/ServicePacksAndFixes.aspx
Are you able to resolve the IP address using the Dns class?
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
"Benjamin" wrote in message
news:1185538115.260729.128040@q75g2000hsh.googlegroups.com...
> 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
>
Date:Fri, 27 Jul 2007 14:12:10 +0100
Author:
|
Re: TcpClient dont work in CF1.1
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.
"Benjamin" wrote in message
news:1185538115.260729.128040@q75g2000hsh.googlegroups.com...
> 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
>
Date:Fri, 27 Jul 2007 08:33:27 -0700
Author:
|
|
|