realbasic-nug.it
[Top] [All Lists]

Re: Mancata connessione TCP/IP

To: REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: Re: Mancata connessione TCP/IP
From: Massimo Valle <maxduepuntozero at yahoo dot it>
Date: Mon, 17 Jul 2006 11:28:18 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=LXvlY0rikr6WCxPVUiuA28GVc4C+4nzGxE2nudWA7/pNxHk74VMwMMJIx8Wq9EG9qtr3gCRQUHgVvbSc4+BdV9UAOPyoDFQbWh2jlVGzlxxtrI5vWs27uQxYt/UmrnzF4hixQZnlQBLR4SIuxaTDKCGKPONHc7vmNBI3AlhDKkg= ;
References: <668B3739-3E2A-48BD-B4FA-81000D7CE0B2 at tiscali dot it>

On 17/lug/06, at 10:46, Gualeni Giovanni wrote:

ciao a tutti e buon inizio di settimana.
La domanda di oggi: e' possibile tentare una connessione TCP/IP e, ad esempio se l'indirizzo e' errato, fermare il tentativo dopo un tot? Spero d'essere stato chiaro.

Giovanni

Certo che si può, anzi sarebbe consigliabile.
Usa un Timer che fai partire quando fai il TCP.Connect e fai in modo che l'evento Action del Timer inneschi una segnalazione di errore (e chiuda la connessione eventualmente).

Massimo ValleChiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com


<Prev in Thread] Current Thread [Next in Thread>