peek_ports


Description:

[ Version ( since = "1.0" ) ]
public bool peek_ports (out unowned ModemPortInfo[] ports)

Gets the list of ports in the modem.

Parameters:

this

A Modem.

ports

Return location for the array of ModemPortInfo values. Do not free the returned value, it is owned by this.

n_ports

Return location for the number of values in ports.

Returns:

true if ports and ports.length are set, false otherwise.