![]() ![]() bind ( port: int, address: Optional = None, family: socket.AddressFamily =, backlog: int = 128, reuse_port: bool = False ) → None ¶īinds this server to the given port on the given address. add_socket ( socket: socket.socket ) → None ¶ Method and _processes to provide greaterĬontrol over the initialization of a multi-process server. The sockets parameter is a list of socket objects such asĪdd_sockets is typically used in combination with that Makes this server start accepting connections on the given sockets. add_sockets ( sockets: Iterable ) → None ¶ ![]() Listen takes effect immediately it is not necessary to call This method may be called more than once to listen on multiple ports. Starts accepting connections on the given port. listen ( port: int, address: str = '' ) → None ¶ Changed in version 5.0: The io_loop argument has been removed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |