Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 3990 → Rev 3991

/branches/network/uspace/srv/net/tl/tcp/tcp.c
65,7 → 65,7
printf( "OK\n" );
 
printf( "\nTCP - testing to send packet to IP:\t" );
packet = packet_get_5( tcp_globals.networking_phone, SERVICE_TCP, 6, 20, 30, 20 );
packet = packet_get_4( tcp_globals.networking_phone, 6, 20, 30, 20 );
if( ! packet ) return ENOMEM;
packet_copy_data( packet, "Hi, this is TCP", 16 );
ip_send( tcp_globals.ip_phone, -1, packet );