使用TCP / IP进行图像传输 [英] Image transfer using TCP/IP

查看:542
本文介绍了使用TCP / IP进行图像传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯......有人可以告诉我如何使用TCP / IP协议传输图像吗?

我知道如何传输文本文件或二进制文件。但是。 ..我真的不知道如何转移图像。

这有点重要...... 所以,如果不是太麻烦......我我也想要一些解释。这与我的项目有关,我不知道怎么做。

提前谢谢

PSI eed完整代码,因为我们这样做linux(putty)ad一些程序只在命令提示符下工作。所以....

编辑:我在错误的部分发布了这个。关于那个

解决方案

您可以将图像文件视为二进制文件,并将其作为二进制文件传输。


不要发布相同文件多个论坛中的问题;我已经在Java论坛中回答了这个问题。


Um......Can somebody please tell me how to transfer an image using TCP/IP protocol?
I kinda know how to transfer a text file or a binary file.But ...I really don't know how to transfer an image.
It is kinda important....So,if it isn't too much trouble..I want some explanation too.This is related to my project and I have no idea how to do this.
Thanks in advance
P.S.I eed full code because we are doing this in linux(putty) ad some programs work only in command prompt.So....
Edit:I posted this in the wrong section.Sorry about that

解决方案

You can think of an image file as a binary file, and just transfer as a binary file.


Please do not post the same question in multiple forums; I already answered this in the Java forum.


这篇关于使用TCP / IP进行图像传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆