How to make chunks of packets?

Hi Folks!I have a rang from 0 to 170. Now i need to make packets. EX first packet from 0-10 then second from 11-20 and so on. How can i do it?any suggestion you guys have?
[192 byte] By [asyed01a] at [2007-11-27 8:39:18]
# 1
Keep it in one thread please! http://forum.java.sun.com/thread.jspa?messageID=9734605
prometheuzza at 2007-7-12 20:37:11 > top of Java-index,Java Essentials,Java Programming...