zelos.network package¶
Module contents¶
-
class
zelos.network.Network(helpers, file_manager, tracer)¶ Bases:
zelos.manager.IManager-
property
sockets¶
-
set_socket_class(socket_class)¶ Allows network activity to be handled by a different socket class.
-
set_select_class(select_class)¶ Allows select/poll to be handled by a different class.
-
add_attempted_connection(string, method)¶
-
create_socket_handle(domain, type, protocol=0)¶
-
create_socket(domain, type, protocol=0)¶
-
enable_whitelist()¶
-
disable_whitelist()¶
-
is_whitelisted(host, port)¶ Returns if the host and port to connect is whitelisted
-
property