.currentinterface R/O Property


For the currently selected socket (selection is made through sock.num) returns the network interface this socket is currently communicating through.


Enum (pl_sock_interfaces, byte)

Value Range:

Platform-specific. See the list of pl_sock_interfaces constants in the platform specifications (for example, EM1000's is here).

See Also:

Checking Connection Status


The value of this property is only valid when the socket is not idle, i.e. sock.statesimple <> 0 — PL_SSTS_CLOSED.