System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread_Multicast.StartListening
Delphi
function StartListening(const ATarget: string): Boolean; override;
C++
virtual bool __fastcall StartListening(const System::UnicodeString ATarget);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | protected | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread_Multicast |
Description
Commence l'écoute des connexions entrantes sur le port spécifié (ATarget), et renvoie True en cas de réussite ou False dans le cas contraire.
System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread Multicast.StartListening hérite de System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening. Tout le contenu en-dessous de cette ligne se réfère à System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.StartListening.
Commence l'écoute des connexions entrantes sur le port spécifié (ATarget), et renvoie True en cas de réussite ou False dans le cas contraire.
Si StartListening renvoie False, appelez StopListening pour corriger l'état dans lequel un appel StartListening ayant échoué provoque une sortie du thread de communication.