View Source FatUtils.Network (FatEcto v1.0.0)

Provides utility functions for working with network-related tasks.

This module includes functions for retrieving local network addresses.

Summary

Functions

Retrieves the local network address.

Functions

local_address()

@spec local_address() :: String.t() | nil

Retrieves the local network address.

Examples

iex> FatUtils.Network.local_address()
"192.168.1.100"

Returns

  • A string representing the local network address, or nil if the address cannot be determined.