Hi...
I think this is pretty simple (hopefully!)...
I want to write a two dimensional array of Strings to an ouput stream (to sent the data to another machine). Elsewhere in my program I'm successfully doing the same thing for text using the following code (note IPConnect is my own class...it just creates the socket):
IPconnect ipConnection=new IPconnect();
OutputStream out=ipConnection.connect( ipVar, portVar);
DataOutputStream dataOut=new DataOutputStream(out);
dataOut.writeUTF("Outgoing String"
How would I accomplish the same thing, but passing a two dimensional array instead of text?
Thanks in advance...
ezl
I think this is pretty simple (hopefully!)...
I want to write a two dimensional array of Strings to an ouput stream (to sent the data to another machine). Elsewhere in my program I'm successfully doing the same thing for text using the following code (note IPConnect is my own class...it just creates the socket):
IPconnect ipConnection=new IPconnect();
OutputStream out=ipConnection.connect( ipVar, portVar);
DataOutputStream dataOut=new DataOutputStream(out);
dataOut.writeUTF("Outgoing String"
How would I accomplish the same thing, but passing a two dimensional array instead of text?
Thanks in advance...
ezl