Function Macro

GLibntohs

since: 2.0

Declaration

#define g_ntohs (
  val
)

Description

Converts a 16-bit integer value from network to host byte order.

Available since: 2.0

This function is not directly available to language bindings.

Parameters

val

Type: -

A 16-bit integer value in network byte order.