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


Ignore:
Timestamp:
2015-08-22T14:11:58Z (10 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/tcp.c

    rfc22069 r78bb04b  
    6666
    6767        aid_t req = async_send_0(exch, TCP_CALLBACK_CREATE, NULL);
    68         int rc = async_connect_to_me(exch, 0, 0, 0, tcp_cb_conn, tcp);
     68       
     69        port_id_t port;
     70        int rc = async_create_callback_port(exch, INTERFACE_TCP_CB, 0, 0,
     71            tcp_cb_conn, tcp, &port);
     72       
    6973        async_exchange_end(exch);
    7074
Note: See TracChangeset for help on using the changeset viewer.