The scds_get_port_list() function returns a list of port-protocol pairs used by the resource. Values for the protocol type are defined in the header file <netinet/in.h>.
Free the memory allocated and returned by this function with scds_free_port_list().