This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi again! I'm writing another program that sends data to another java app. I know i'm going to use streams in this one. I'm planning to send a bunch of bytes over the LAN and putting the length of the data infront. say for example
0A 00 01 02 03 04 05 06 07 08 09
So the first byte is 0A, its the length. and the data follows. what class of stream is perfect for this?