Gio.SrvTarget.prototype.get_port

function get_port(): Number(guint16) {
    // Gjs wrapper for g_srv_target_get_port()
}
  

Gets target's port

Since 2.22

Returns

target's port