permaculture playing cards*
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 Android Security Essentials Live Lessons this week in the Android 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?
 
 
subject: How to break down a large text file which is converted into bytes, can be broken down into packets t
 
Similar Threads
Writing Hex Values to a file
how to insert carriage return
PERIODIC BLUETOOTH SCAN and OBEX send
unable to preserve newline
btSendFile