Module e.c.u.network
Part of
elisa
.
core
.
utils
Functions to retrieve hostname and IP address of the machine running Elisa
Line #
Kind
Name
Docs
59
Function
get_host_address
Retrieve current host address for Win32 and Linux platforms
136
Function
get_ip_address
Retrieve IP address of the given network interface, on a Windows platform
def get_host_address():
Retrieve current host address for Win32 and Linux platforms
Returns
(type: string )
Raises
ValueError
if current system's platform is not windows or linux
def get_ip_address(ifname=None):
Retrieve IP address of the given network interface, on a Windows platform
Parameters
ifname
network interface name (type: string )
Returns
(type: string )
Raises
ValueError
if current system's platform is not windows or linux
API Documentation
for
Elisa Media Center
, generated by
pydoctor
at 2008-09-09 19:37:04.