.Portnum Property


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



Value Range:

0 to ser.numofports-1

See Also:



Once the PPP interface is enabled (ppp.enabled= 1- YES), the selected serial port seizes 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).