s.socket : module documentation

Part of samba

No module docstring
Function getfqdn Get fully qualified domain name from name.
def getfqdn(name=''):
Get fully qualified domain name from name.

An empty argument is interpreted as meaning the local host.

First the hostname returned by gethostbyaddr() is checked, then possibly existing aliases. In case no FQDN is available, hostname from gethostname() is returned.

API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.