
22 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
3
Return Values
The following table contains the return values.
Example
OS_TCP::options
Description
Returns options as hexadecimal string if present otherwise it returns undefined.
Context
Called in context of TCP and HTTP.
Usage
Can be used to perform load-balancing based on options.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 15 Return Values
Name Type Description
Acknowledgement number.
TABLE 16 Return Values
Name Type Description
hex string Options returned as
hexadecimal string.
use OS_TCP;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
my $ack = OS_TCP::ack;
print "Acknowledge number is $ack\n";
}
Comentarios a estos manuales