aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How to break down a large text file which is converted into bytes, can be broken down into packets t Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to break down a large text file which is converted into bytes, can be broken down into packets t" Watch "How to break down a large text file which is converted into bytes, can be broken down into packets t" New topic
Author

How to break down a large text file which is converted into bytes, can be broken down into packets t

Lawrence Tan
Greenhorn

Joined: Oct 17, 2012
Posts: 3


hi all, I am dealing with an assignment that needs me to send large text file through UDP. I am able to read the 10000 byte but when i set pkt_size to 1000, it only delivery 1000 byte which is 1KB of data over. How do i break large file to small packets to send?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to break down a large text file which is converted into bytes, can be broken down into packets t