System.Net.Socket.TSocket.ReceiveLength
Delphi
function ReceiveLength: Integer; inline;
C++
int __fastcall ReceiveLength();
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
Renvoie le nombre d'octets en attente disponibles.
Exceptions
Un appel à ReceiveLength peut déclencher l'une des exceptions suivantes :
Exception | Exception.Message | Scénarios |
---|---|---|
Erreur de socket réseau : <message d'erreur> (<code d'erreur>), sur la fonction 'ioctlsocket' de l'API |
| |
Le type du socket n'est pas compatible avec l'appel |
|