remote_port Property

This property shows the TCP port on the remote host through which the connection is coming.

Syntax

def get_remote_port(connection_id: int) -> int: ...

Default Value

0

Remarks

This property shows the TCP port on the remote host through which the connection is coming.

The connection must be valid or an error will be fired.

The connection_id parameter specifies the index of the item in the array. The size of the array is controlled by the connection_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]