ntohl

Description

Convert the unsigned integer from network byte order to host byte order.

Syntax

ntohl <netlong>

ntohl <netlong>

  • Convert the unsigned integer from network byte order to host byte order.

Examples

when HTTP_REQUEST{
  set netlong 12345678
  set hostlong [ntohl $netlong]
}