Searched refs:socket (Results 1 - 14 of 14) sorted by relevance
/pkg/src/util/log-scripts/ |
H A D | log.py | 32 import socket namespace 90 host = socket.gethostbyaddr(k)[0],
|
H A D | an_report.py | 35 import socket namespace 86 hname = socket.gethostbyaddr(ip)[0] 92 except socket.herror:
|
H A D | an_catalog.py | 55 import socket namespace
|
/pkg/src/zoneproxy/zoneproxy-client/ |
H A D | zoneproxy-client.c | 41 #include <sys/socket.h> 485 if ((sockfd = socket(ai->ai_family, SOCK_STREAM, 0)) < 0) { 486 perror("socket"); 503 * If the socket is in use, call zoneproxyd and 504 * ask it to un-register the current socket. Then 530 * At this point, the proxyd has a copy of the socket and will answer 531 * all incoming connection requests. Close our refernce to the socket
|
/pkg/src/modules/ |
H A D | pipeutils.py | 31 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 D | misc.py | 48 import socket namespace 168 sock = socket.socket(socket.AF_UNIX)
|
/pkg/src/ |
H A D | depot-config.py | 37 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 D | sysrepo.py | 37 import socket namespace 558 socket.gethostbyname(host) 650 except (socket.gaierror, UnicodeError) as err: 651 # socket.gethostbyname raise UnicodeDecodeError in Python 3
|
H A D | client.py | 60 import socket namespace 5477 # overridden in the environment. The default socket module should 5480 socket.setdefaulttimeout(30) # in secs
|
/pkg/src/modules/server/ |
H A D | depot.py | 55 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/zoneproxy/zoneproxyd/ |
H A D | zoneproxyd.c | 35 * The zone-proxy client is responsible for creating a listening TCP socket in a 36 * pre-determined location, and then passing control of that socket to the proxy 40 * socket, and the process is repeated. 55 * socket is dup'd, and one is always used for reading, and the other always 90 #include <sys/socket.h> 752 if ((newbfd = socket(ai->ai_family, SOCK_STREAM, 0)) < 0) { 753 perror("socket");
|
/pkg/src/tests/cli/ |
H A D | t_pkg_install.py | 39 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",
|
/pkg/src/modules/client/ |
H A D | client_api.py | 38 import socket namespace
|
/pkg/src/tests/ |
H A D | pkg5unittest.py | 78 from socket import error as socketerror
|
Completed in 118 milliseconds