问题标签 [python-server-pages]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
sockets - 图像文件被截断从套接字接收
我在 Python 中有我的服务器,在 android (java) 中有客户端,我正在尝试通过套接字发送图像。它给了我一个错误图像文件被截断
服务器端 (Python)// 图像被成功录制,我们可以打印图像尺寸,但是当尝试一点一点地读取它时,它说图像被截断。
客户端(android(java))(图像正在成功发送,但在服务器端它给出了错误)
protected String doInBackground(File... voids) { File file= voids[0];
}