是否可以在C编程中在单个套接字通信中发送多个文件? [英] Is it possible to send multiple files in a single socket communication in C programming?

查看:76
本文介绍了是否可以在C编程中在单个套接字通信中发送多个文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





是否可以选择多个文件并在C程序中发送单插槽编程?我正在使用TCP / IP协议。

Hi,

Is it possible to select multiple files and send in a single socket programming in C program? I am using TCP/IP Protocol.

推荐答案

当然,套接字接受字节集合,这些字节的组合方式以及它们来自何处不是他们关心的问题,这就是应用程序的问题。
Yes of course, sockets accept a collection of bytes, how those bytes are assembled and where they came from is not their concern, that's the application's problem.


这篇关于是否可以在C编程中在单个套接字通信中发送多个文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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