networking#
Provides a module to get networking functionality.
Functions:
|
Check if a URL exists. |
Find an ip address at which a gRPC connection can be established by looping over getaddrinfo output. |
|
Identifies a free port to which a new socket connection can be established. |
|
|
Get the content of a URL. |
- ansys.fluent.core.utils.networking.check_url_exists(url)#
Check if a URL exists.
- Parameters:
- url
str
URL to check
- url
- Returns:
- bool
True if the URL exists, False otherwise
- Raises:
ssl.SSLError
If there is an SSL error while checking the URL
- ansys.fluent.core.utils.networking.find_remoting_ip()#
Find an ip address at which a gRPC connection can be established by looping over getaddrinfo output.
- Returns:
str
remoting ip address