Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual do Utilizador Página 38

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 37
26 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
3
Example
OS_TCP::collect
Description
Returns the TCP data within a TCP packet.
Context
Called in context of TCP.
Usage
Used to trigger the data event (TCP_CLIENT_DATA or TCP_SERVER_DATA).
If the script does not act on the data (e.g. through forwarding), the data is held.
Input Parameters
None.
Return Values
None.
use OS_TCP;
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
my $optlen = OS_TCP::getOptionLength;
my $options = OS_TCP::options;
if($optlen > 0 && !(defined $options))
{
OS_SLB::reset_client;
}
}
Vista de página 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 131 132

Comentários a estes Manuais

Sem comentários