Searched defs:socket (Results 1 - 11 of 11) sorted by relevance

/pkg/src/util/log-scripts/
H A Dlog.py32 import socket namespace
90 host = socket.gethostbyaddr(k)[0],
H A Dan_catalog.py55 import socket namespace
H A Dan_report.py35 import socket namespace
86 hname = socket.gethostbyaddr(ip)[0]
92 except socket.herror:
/pkg/src/
H A Ddepot-config.py37 import socket namespace
237 socket.getaddrinfo(host, None)
322 except (socket.gaierror, UnicodeError) as err:
323 # socket.getaddrinfo raise UnicodeDecodeError in Python 3
H A Dsysrepo.py37 import socket namespace
558 socket.gethostbyname(host)
650 except (socket.gaierror, UnicodeError) as err:
651 # socket.gethostbyname raise UnicodeDecodeError in Python 3
H A Dclient.py60 import socket namespace
5477 # overridden in the environment. The default socket module should
5480 socket.setdefaulttimeout(30) # in secs
/pkg/src/modules/
H A Dpipeutils.py31 file and socket objects:
76 import socket namespace
321 """Object which makes a pipe look like a "socket" object."""
364 """set socket opt."""
400 # to point to a socket, overwrite it with a pipe.
521 from self.socket.accept())."""
526 raise socket.error()
541 # makefile(), so close the connection socket here.
H A Dmisc.py48 import socket namespace
168 sock = socket.socket(socket.AF_UNIX)
/pkg/src/modules/server/
H A Ddepot.py55 import socket namespace
2001 self.name = "pkg(7) mirror on {0}".format(socket.gethostname())
2014 netloc = "{0}:{1}".format(socket.getfqdn(), self.port)
/pkg/src/modules/client/
H A Dclient_api.py38 import socket namespace
/pkg/src/tests/cli/
H A Dt_pkg_install.py39 import socket namespace
4705 sock = socket.socket(socket.AF_UNIX)
4706 sock.bind(os.path.join(self.img_path(), "salvage", "socket"))
4709 # This could hang reading fifo, or keel over reading socket.
11155 stat.S_IFSOCK: "socket",

Completed in 438 milliseconds