pxblat.check_port_open(host: str, port: int) bool[source]

Check the port is open and can accept message or not.

Parameters:
host: str

Hostname

port: int

Port number

Returns:

True if the port is open and can accept message, otherwise False.