Compares ip_address_str and port with the current address and port.
string with the IP address to compare with the current address
port to compare with the current
true if ip_address_str and port are the same as the current or false if not.
SocketError if ip_address_str does not contain a valid IP address.
See Implementation
Compares ip_address_str and port with the current address and port.