.portnum Property

Function:

Sets/returns the number of the serial port that will be used by the ppp. object.

Type:

Byte

Value Range:

0 to ser.numofports - 1

See Also:

---


Details

Once the PPP interface is enabled (ppp.enabled = 1 — YES), the selected serial port ceases to be under the control of your application and works exclusively for the ppp. object.

The value of this property won't exceed ser.numofports - 1 (even if you attempt to set a higher value).

You can only change this property when the PPP channel is disabled (ppp.enabled = 0 — NO).


.portnum Property

Details