Lines Matching refs:port
819 :param addr: A (host, port) tuple which the server listens on.
820 You can specify a port value of zero: the server's
821 *port* attribute will hold the actual port number
839 self.port = self.socket.getsockname()[1]
850 :param peer: The client (host, port) tuple.
943 :param addr: A tuple with the IP address and port to listen on.
984 :param addr: A tuple with the IP address and port to listen on.
1009 self.port = self.socket.getsockname()[1]
1015 :param addr: A tuple with the IP address and port to listen on.
1052 self.port = self.socket.getsockname()[1]
1078 addr = (socket_helper.HOST, server.port)
1740 pointing to that server's address and port."""
1756 self.sock_hdlr = hcls('localhost', server.port)
1856 pointing to that server's address and port."""
1872 self.sock_hdlr = hcls('localhost', server.port)
1939 pointing to that server's address and port."""
1955 self.sl_hdlr = hcls((server.server_address[0], server.port))
2046 pointing to that server's address and port."""
3291 # Ask for a randomly assigned port (by using port 0)
3295 # Now get the port allocated
3296 port = t.port
3301 sock.connect(('localhost', port))