Changeset 9d28b9c in mainline
- 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
- Location:
- uspace/srv/net/app
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/app/nettest1/nettest1.c
r2d68c72 r9d28b9c 244 244 return socket_ids[ index ]; 245 245 } 246 if( verbose ) print_mark( index ); 246 if( verbose ){ 247 print_mark( index ); 248 } 247 249 } 248 250 return EOK; … … 366 368 ERROR_DECLARE; 367 369 368 size_t size = 2 8;370 size_t size = 27; 369 371 int verbose = 0; 370 372 sock_type_t type = SOCK_DGRAM; -
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.