Changeset 9d28b9c in mainline for uspace/srv/net/app/nettest2/nettest2.c
- Timestamp:
- 2010-01-04T17:44:28Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- daecfed3
- Parents:
- 2d68c72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/app/nettest2/nettest2.c
r2d68c72 r9d28b9c 366 366 ERROR_DECLARE; 367 367 368 size_t size = 2 9;368 size_t size = 28; 369 369 int verbose = 0; 370 370 sock_type_t type = SOCK_DGRAM; … … 507 507 508 508 ERROR_PROPAGATE( sockets_create( verbose, socket_ids, sockets, family, type )); 509 509 510 if( type == SOCK_STREAM ){ 510 511 ERROR_PROPAGATE( sockets_connect( verbose, socket_ids, sockets, address, addrlen )); 511 512 } 513 514 if( verbose ) printf( "\n" ); 512 515 513 516 if( ERROR_OCCURRED( gettimeofday( & time_before, NULL ))){ … … 546 549 ERROR_PROPAGATE( sockets_close( verbose, socket_ids, sockets )); 547 550 548 if( verbose ) printf( " Exiting\n" );551 if( verbose ) printf( "\nExiting\n" ); 549 552 550 553 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.