Changeset 78bb04b in mainline for uspace/lib/c/generic/inet/udp.c


Ignore:
Timestamp:
2015-08-22T14:11:58Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0dd16778
Parents:
fc22069
Message:

introduce ports for callback connections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet/udp.c

    rfc22069 r78bb04b  
    5353
    5454        aid_t req = async_send_0(exch, UDP_CALLBACK_CREATE, NULL);
    55         int rc = async_connect_to_me(exch, 0, 0, 0, udp_cb_conn, udp);
     55       
     56        port_id_t port;
     57        int rc = async_create_callback_port(exch, INTERFACE_UDP_CB, 0, 0,
     58            udp_cb_conn, udp, &port);
     59       
    5660        async_exchange_end(exch);
    5761
Note: See TracChangeset for help on using the changeset viewer.