java socket send & receive byte array
Posted
by quan
on Stack Overflow
See other posts from Stack Overflow
or by quan
Published on 2009-07-24T07:01:06Z
Indexed on
2010/05/15
22:20 UTC
Read the original article
Hit count: 782
in server, I have send a byte array to client through java socket
byte[] message = ... ;
DataOutputStream dout = new DataOutputStream(client.getOutputStream());
dout.write(message);
How can I receive this byte array from client? anyone give me some code example to do this thanks in advance
© Stack Overflow or respective owner