|
|
|
|
|
- Procedure for stream detection
Devuelve el nombre y/o el número del emisor del flujo. Permite obtener información sobre la conexión entrante antes de aceptarla. // Retrieves the name of stream issuer CallerName is string = StreamInfo(StreamID)
// Retrieves the number of the stream issuer CallerNumber is string = StreamInfo(StreamID, StreamCallerNumber)
Sintaxis
<Result> = StreamInfo(<Connection ID> [, <Requested information>])
<Result>: Cadena de caracteres Nombre o número del emisor del flujo. <Connection ID>: Integro Identificador de la conexión (se encuentra en el Event "Solicitud de conexión de un nuevo flujo"). <Requested information>: Constante opcional de tipo Integer Información a devolver: | | StreamCallerName (valor predeterminado) | Nombre del emisor del flujo. En WLanguage, este nombre puede ser devuelto por la propiedad Identificador. | StreamCallerNumber | Número del emisor del flujo (dirección iP, por ejemplo). |
Observaciones Procedure for stream detection A stream is associated with the "Connection request of new stream" event. This event is executed when a request to connect to an incoming stream is detected. This event is run in one of the following cases: - if the Detection property applied to the stream is set to True.
- if the option "Detection of active incoming streams" has been checked in the stream description window.
Note This event is executed in a specific WLanguage Thread. Therefore, it is subject to limitations specific to the threads. For more details on threads, see Managing threads with WINDEV.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|