Function Macro

GLibhtons

Declaration [src]

#define g_htons (
  val
)

Description [src]

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

This function is not directly available to language bindings.

Parameters

val

Type: -

A 16-bit integer value in host byte order.