How to split a file into packets.
I have a networking assignment in which I have to transfer a file in groups of 8 256byte-packages, using JAVA.
Anyone know how I can break the file into the packages so I can send them through a socket connection?
Moreso, anyone have any ideas on how to implement a buffer on the serverside?
Any help is greatly appreciated.
My avatar: "An obscure and non sensical pattern made to get people to post what they think it is" - Vamp
Dell XPS M1530
Core2Duo T5550 1.86Ghz | 3GB DDR2 | 8600M GT 256MB | 250GB Hdd | BenQ FP202W 20" LCD | MX1000 mouse | Inspire T5400 5.1