Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inetping.c

    rf9b2cb4c r9749e47  
    5353        inetping_ev_ops = ev_ops;
    5454
    55         rc = loc_service_get_id(SERVICE_NAME_INET, &inetping_svc,
     55        rc = loc_service_get_id(SERVICE_NAME_INETPING, &inetping_svc,
    5656            IPC_FLAG_BLOCKING);
    5757        if (rc != EOK)
    5858                return ENOENT;
    5959
    60         inetping_sess = loc_service_connect(inetping_svc, INTERFACE_INETPING,
     60        inetping_sess = loc_service_connect(EXCHANGE_SERIALIZE, inetping_svc,
    6161            IPC_FLAG_BLOCKING);
    6262        if (inetping_sess == NULL)
     
    6565        async_exch_t *exch = async_exchange_begin(inetping_sess);
    6666
    67         port_id_t port;
    68         rc = async_create_callback_port(exch, INTERFACE_INETPING_CB, 0, 0,
    69             inetping_cb_conn, NULL, &port);
    70        
     67        rc = async_connect_to_me(exch, 0, 0, 0, inetping_cb_conn, NULL);
    7168        async_exchange_end(exch);
    7269
Note: See TracChangeset for help on using the changeset viewer.