Newsgroups: microsoft.public.dotnet.framework.compactframework
Von: "Richard K" <junkm...@seventree.com>
Datum: Tue, 25 Nov 2003 11:39:58 -0600
Lokal: Di 25 Nov. 2003 18:39
Betreff: Re: TcpClient.Connect takes 60 seconds
That might work - I don't know, I have already changed the code to use
Socket.BeginConnect/EndConnect which connects instantly using the same IP address string. But that brings up another question... In the desktop .NET framework WaitOne(delay in ms) can be used after My question is, in that case isn't the callback thread still waiting on Dick ""David Kline [msft]"" <davi...@online.microsoft.com> wrote in message > Richard,
> Chances are, the delay you are seeing is due to the TcpClient attempting > MyTcpClient.Connect(IPAddress.Parse("192.168.1.1"), 8222); > Thanks, > Please do not send email directly to this alias. This alias is for Sie müssen sich anmelden, bevor Sie Nachrichten veröffentlichen können.
Bevor Sie eine Nachricht posten können, müssen Sie zunächst dieser Gruppe beitreten.
Bitte aktualisieren Sie vor dem Posten in den Abonnementeinstellungen Ihren Spitznamen.
Sie haben nicht die erforderliche Berechtigung zum Posten.
| ||||||||||||||