beautypg.com

Os_tcp::ack, Context, Usage – Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual

Page 33: Input parameters, Return values, Example, Description

background image

Brocade Virtual ADX OpenScript API Guide

21

53-1003243-01

Methods

3

Context

Called in context of TCP and HTTP.

Usage

Can be used to perform load-balancing based on sequence number.

Input Parameters

None.

Return Values

The following table contains the return values.

Example

OS_TCP::ack

Description

Returns the acknowledgment number if called in valid context otherwise it returns undefined.

Context

Called in context of TCP and HTTP.

Usage

Can be used to perform load-balancing based on an acknowledgement number.

Input Parameters

None.

TABLE 14

Return Values

Name

Type

Description

Sequence

number.

use OS_TCP;

use OS_HTTP_REQUEST;

sub HTTP_REQUEST {

my $seq = OS_TCP::seq;

print "Sequence number is $seq\n";

}