This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to break down a large text file which is converted into bytes, can be broken down into packets t
 
Similar Threads
btSendFile
Writing Hex Values to a file
PERIODIC BLUETOOTH SCAN and OBEX send
unable to preserve newline
how to insert carriage return