Changeset 1a0fb3f8 in mainline for uspace/srv/net/app/ping/ping.c


Ignore:
Timestamp:
2010-01-04T22:47:30Z (15 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/app/ping/ping.c

    rb648ae4 r1a0fb3f8  
    236236        }
    237237
    238         icmp_phone = icmp_connect_module( SERVICE_ICMP );
     238        icmp_phone = icmp_connect_module( SERVICE_ICMP, ICMP_CONNECT_TIMEOUT );
    239239        if( icmp_phone < 0 ){
    240240                fprintf( stderr, "ICMP connect error %d\n", icmp_phone );
     241                return icmp_phone;
    241242        }
    242243
Note: See TracChangeset for help on using the changeset viewer.