networking#
Module for getting networking functionality.
Functions:
|
Check if a URL exists. |
Find an IP address for establishing a gRPC connection by looping over |
|
Identify a free port for establishing a new socket connection. |
|
|
Get the content of a URL. |
- ansys.cfx.core.utils.networking.check_url_exists(url: str) bool#
Check if a URL exists.
- Parameters:
- url
str URL to check.
- url
- Returns:
- bool
Trueif the URL exists,Falseotherwise.
- Raises:
ssl.SSLErrorIf there is an SSL error while checking the URL.
- ansys.cfx.core.utils.networking.find_remoting_ip() str#
Find an IP address for establishing a gRPC connection by looping over
getaddrinfooutput.- Returns:
strRemoting IP address.