阅读背景:

如何在Java中通过套接字将一个2D数组发送到服务器?

来源:互联网 

I have a 2D dynamic array containing integers and strings that I need to send to the server. The array comprises of 100,000 columns. One possibility is to copy the array into a file and send it to the server and the server can parse it. Whereas, the other possibility is to do serialisation. I am doing socket programming for the first time and the solution that I am looking for should be optimal. Considering the size of the array, I dont think converting each element into bytes would be good. Please could you give me a slight hint or guide me on how I should proceed.I have a 2D dynamic array containing integers a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: