find t answers for these questions ..

1. Is it possible to set some upper cut off for the data rate or transmission rate in TCP or UDP ?
2. IF true, get t source code for t same ?
3. is it possible to measure t data rate of a TCP or UDP connection ?
4. get t compl source code for broadcasting using java ?

thank u in advance . .

bye bye