Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Instrukcja Użytkownika Strona 38

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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;
}
}
Przeglądanie stron 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag