bow huang

Greenhorn
+ Follow
since Apr 28, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by bow huang

Thanks for your reply,
I will hava a try
dear everybody,
i hava a problem in socket data compression:
client:
socket = new Socket(host,4000);
ZipOutputStream zipout = new ZipOutputStream(socket.getOutputStream());
zipout.putNextEntry(new ZipEntry("a.zip"));
DataOutputStream output = new DataOutputStream(zipout);
DataInputStream input = new DataInputStream(socket.getInputStream());
output.writeLong(10000);
long clientNumber = input.readLong();//1234
output.writeInt(222);

server:
ServerSocket serversocket = new ServerSocket(4000);
Socket client = serversocket.accept();
ZipInputStream zipin = new ZipInputStream(client.getInputStream());
zipin.getNextEntry();
input = new DataInputStream(zipin);
output = new DataOutputStream(client.getOutputStream());
output.writeInt(1234);
long magicNumber = input.readLong();//10000
int intnumber = input.readInt();//222
The app blocked when run to readLong() and readInt(),what's the problem?
Dear everybody,
Have Wavelet Compression Algorithm written in java? If yes,will you send
to:E-mail address removed by Sheriff
Thanks!
[ April 28, 2004: Message edited by: Gregg Bolinger ]
19 years ago
Dear everybody,
Have Wavelet Compression Algorithm written in java? If yes,will you send to: jerryhuang@tom.com
Thanks!
19 years ago