Changeset 1a0fb3f8 in mainline for uspace/srv/net/tl/tcp/tcp.c


Ignore:
Timestamp:
2010-01-04T22:47:30Z (14 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ede63e4
Parents:
b648ae4
Message:

+ icmp and libsocket timeouting connecting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp.c

    rb648ae4 r1a0fb3f8  
    219219        fibril_rwlock_initialize( & tcp_globals.lock );
    220220        fibril_rwlock_write_lock( & tcp_globals.lock );
    221         tcp_globals.icmp_phone = icmp_connect_module( SERVICE_ICMP );
    222         if( tcp_globals.icmp_phone < 0 ){
    223                 return tcp_globals.icmp_phone;
    224         }
     221        tcp_globals.icmp_phone = icmp_connect_module( SERVICE_ICMP, ICMP_CONNECT_TIMEOUT );
    225222        tcp_globals.ip_phone = ip_bind_service( SERVICE_IP, IPPROTO_TCP, SERVICE_TCP, client_connection, tcp_received_msg );
    226223        if( tcp_globals.ip_phone < 0 ){
Note: See TracChangeset for help on using the changeset viewer.