SCTP::server_port

Description

Returns the SCTP port/service number of the specified server. This command is equivalent to the command serverside { SCTP::remote_port }.

Syntax

SCTP::server_port

SCTP::server_port

  • Returns the SCTP port/service number of the specified server.

Examples

when SERVER_CONNECTED {
    if { [SCTP::server_port] > 1000 } {
        pool slow_pool
     }
      else {
         pool fast_pool
       }
}