.currentinterface R/O Property

Function:

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

Type:

Enum (pl_sock_interfaces, byte)

Value Range:

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

See Also:

Checking Connection Status


Details

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


.currentinterface R/O Property

Details