
unity网络通信
unity工具人
林深时见鹿 海蓝时见鲸
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tcp发送图片流
发送端: using UnityEngine; using System.Collections; using System.Net; using System.Net.Sockets; using System.IO; using System; public class SendPhoto : MonoBehaviour { private Socket socket = null; private IPEndPoint endPoint = null; // Use t原创 2021-03-31 23:33:19 · 713 阅读 · 5 评论 -
unity使用Tcp/UDP协议网络通信实现(Socket简单应用)
服务器端: 1.打开vs,创建一个c#的控制台应用程序 代码如下 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Net.Sockets; using System.Net; namespace Socket服务器端 { class Program { static原创 2020-05-22 22:14:39 · 4839 阅读 · 2 评论